File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Nuxt dev/build outputs
2+ .output
3+ .nuxt
4+ .nitro
5+ .cache
6+ dist
7+
8+ # Node dependencies
9+ node_modules
10+
11+ # Logs
12+ logs
13+ * .log
14+
15+ # Misc
16+ .DS_Store
17+ .fleet
18+ .idea
19+
20+ # Local env files
21+ .env
22+ .env. *
23+ ! .env.example
Original file line number Diff line number Diff line change 1+ shamefully-hoist = true
2+ strict-peer-dependencies = false
Original file line number Diff line number Diff line change 1+ # Nuxt 3 Minimal Starter
2+
3+ Look at the [ Nuxt 3 documentation] ( https://nuxt.com/docs/getting-started/introduction ) to learn more.
4+
5+ ## Setup
6+
7+ Make sure to install the dependencies:
8+
9+ ``` bash
10+ # npm
11+ npm install
12+
13+ # pnpm
14+ pnpm install
15+
16+ # yarn
17+ yarn install
18+ ```
19+
20+ ## Development Server
21+
22+ Start the development server on ` http://localhost:3000 ` :
23+
24+ ``` bash
25+ # npm
26+ npm run dev
27+
28+ # pnpm
29+ pnpm run dev
30+
31+ # yarn
32+ yarn dev
33+ ```
34+
35+ ## Production
36+
37+ Build the application for production:
38+
39+ ``` bash
40+ # npm
41+ npm run build
42+
43+ # pnpm
44+ pnpm run build
45+
46+ # yarn
47+ yarn build
48+ ```
49+
50+ Locally preview production build:
51+
52+ ``` bash
53+ # npm
54+ npm run preview
55+
56+ # pnpm
57+ pnpm run preview
58+
59+ # yarn
60+ yarn preview
61+ ```
62+
63+ Check out the [ deployment documentation] ( https://nuxt.com/docs/getting-started/deployment ) for more information.
Original file line number Diff line number Diff line change 1+ <template >
2+ <div >
3+ <NuxtWelcome />
4+ </div >
5+ </template >
Original file line number Diff line number Diff line change 1+ // https://nuxt.com/docs/api/configuration/nuxt-config
2+ export default defineNuxtConfig ( {
3+ devtools : { enabled : true }
4+ } )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " nuxt-app" ,
3+ "private" : true ,
4+ "scripts" : {
5+ "build" : " nuxt build" ,
6+ "dev" : " nuxt dev" ,
7+ "generate" : " nuxt generate" ,
8+ "preview" : " nuxt preview" ,
9+ "postinstall" : " nuxt prepare"
10+ },
11+ "devDependencies" : {
12+ "@nuxt/devtools" : " latest" ,
13+ "@types/node" : " ^18" ,
14+ "nuxt" : " ^3.6.1"
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ../.nuxt/tsconfig.server.json"
3+ }
Original file line number Diff line number Diff line change 1+ {
2+ // https://nuxt.com/docs/guide/concepts/typescript
3+ "extends" : " ./.nuxt/tsconfig.json"
4+ }
You can’t perform that action at this time.
0 commit comments