Skip to content

Commit c84dc0f

Browse files
committed
init nuxt3 project
0 parents  commit c84dc0f

File tree

9 files changed

+120
-0
lines changed

9 files changed

+120
-0
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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.

app.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<div>
3+
<NuxtWelcome />
4+
</div>
5+
</template>

nuxt.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// https://nuxt.com/docs/api/configuration/nuxt-config
2+
export default defineNuxtConfig({
3+
devtools: { enabled: true }
4+
})

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
}

public/favicon.ico

4.19 KB
Binary file not shown.

server/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../.nuxt/tsconfig.server.json"
3+
}

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
// https://nuxt.com/docs/guide/concepts/typescript
3+
"extends": "./.nuxt/tsconfig.json"
4+
}

0 commit comments

Comments
 (0)