Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
feat(nuxt): example playground add and publish v0.0.1-beta.3 (#52)
Browse files Browse the repository at this point in the history
* chore: update import paths and remove unused code

* fix: Update paths in nuxt.config.ts

* version(nuxt): release 0.0.1-beta.0

* Add "publishConfig" to package.json

* chore: add playground

* version(nuxt): release 0.0.1-beta.1

* version(nuxt): release 0.0.1-beta.2

* version(nuxt): release 0.0.1-beta.3

* Update dependencies for @pergel/nuxt to version 0.0.1-beta.3
  • Loading branch information
productdevbook authored Dec 10, 2023
1 parent 0bcabec commit 14f0793
Show file tree
Hide file tree
Showing 26 changed files with 5,686 additions and 22 deletions.
24 changes: 24 additions & 0 deletions examples/devtools-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
75 changes: 75 additions & 0 deletions examples/devtools-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
5 changes: 5 additions & 0 deletions examples/devtools-test/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div>
<NuxtWelcome />
</div>
</template>
10 changes: 10 additions & 0 deletions examples/devtools-test/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@pergel/nuxt',
],
devtools: { enabled: true },
pergel: {
text: 'Hello World!',
},
})
21 changes: 21 additions & 0 deletions examples/devtools-test/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "nuxt-app",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@pergel/nuxt": "0.0.1-beta.3"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"nuxt": "^3.8.2",
"vue": "^3.3.10",
"vue-router": "^4.2.5"
}
}
Loading

0 comments on commit 14f0793

Please sign in to comment.