File tree Expand file tree Collapse file tree 15 files changed +7394
-0
lines changed Expand file tree Collapse file tree 15 files changed +7394
-0
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ indent_size = 2
7+ indent_style = space
8+ insert_final_newline = true
Original file line number Diff line number Diff line change 1+ /.yarn /** linguist-vendored
2+ /.yarn /releases /* binary
3+ /.yarn /plugins /** /* binary
4+ /.pnp. * binary linguist-generated
Original file line number Diff line number Diff line change 1+ name : Deploy Nuxt to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main # or main
7+
8+ permissions :
9+ contents : write # 👈 allow pushing to gh-pages
10+
11+ jobs :
12+ deploy :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Setup Node.js
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 22
23+
24+ - name : Enable Corepack
25+ run : corepack enable
26+
27+ - name : Use Yarn version from packageManager
28+ run : corepack use yarn
29+
30+ - name : Install dependencies
31+ run : yarn install --immutable
32+
33+ - name : Generate static site
34+ run : yarn generate
35+
36+ - name : Deploy to GitHub Pages
37+ uses : peaceiris/actions-gh-pages@v3
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ publish_dir : ./dist
Original file line number Diff line number Diff line change 1+ # Nuxt dev/build outputs
2+ .output
3+ .data
4+ .nuxt
5+ .nitro
6+ .cache
7+ dist
8+
9+ # Node dependencies
10+ node_modules
11+
12+ # Logs
13+ logs
14+ * .log
15+
16+ # Misc
17+ .DS_Store
18+ .fleet
19+ .idea
20+
21+ # Local env files
22+ .env
23+ .env. *
24+ ! .env.example
Original file line number Diff line number Diff line change 1+ 22.20.0
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 1+ # Nuxt Minimal Starter
2+
3+ Look at the [ Nuxt documentation] ( https://nuxt.com/docs/getting-started/introduction ) to learn more.
4+
5+ ## Setup
6+
7+ Make sure to install dependencies:
8+
9+ ``` bash
10+ # npm
11+ npm install
12+
13+ # pnpm
14+ pnpm install
15+
16+ # yarn
17+ yarn install
18+
19+ # bun
20+ bun install
21+ ```
22+
23+ ## Development Server
24+
25+ Start the development server on ` http://localhost:3000 ` :
26+
27+ ``` bash
28+ # npm
29+ npm run dev
30+
31+ # pnpm
32+ pnpm dev
33+
34+ # yarn
35+ yarn dev
36+
37+ # bun
38+ bun run dev
39+ ```
40+
41+ ## Production
42+
43+ Build the application for production:
44+
45+ ``` bash
46+ # npm
47+ npm run build
48+
49+ # pnpm
50+ pnpm build
51+
52+ # yarn
53+ yarn build
54+
55+ # bun
56+ bun run build
57+ ```
58+
59+ Locally preview production build:
60+
61+ ``` bash
62+ # npm
63+ npm run preview
64+
65+ # pnpm
66+ pnpm preview
67+
68+ # yarn
69+ yarn preview
70+
71+ # bun
72+ bun run preview
73+ ```
74+
75+ 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+ <NuxtRouteAnnouncer />
4+ <NuxtWelcome />
5+ </div >
6+ </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+ compatibilityDate : '2025-07-15' ,
4+ devtools : { enabled : true }
5+ } )
You can’t perform that action at this time.
0 commit comments