File tree Expand file tree Collapse file tree 12 files changed +101
-0
lines changed Expand file tree Collapse file tree 12 files changed +101
-0
lines changed Original file line number Diff line number Diff line change 1+ node_modules
2+ * .log *
3+ .nuxt
4+ .nitro
5+ .cache
6+ .output
7+ .data
8+ .env
9+ dist
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+ # Content v2 Minimal Starter
2+
3+ Look at the [ Content documentation] ( https://content.nuxt.com/ ) to learn more.
4+
5+ ## Setup
6+
7+ Make sure to install the dependencies:
8+
9+ ``` bash
10+ # yarn
11+ yarn install
12+
13+ # npm
14+ npm install
15+
16+ # pnpm
17+ pnpm install
18+ ```
19+
20+ ## Development Server
21+
22+ Start the development server on http://localhost:3000
23+
24+ ``` bash
25+ npm run dev
26+ ```
27+
28+ ## Production
29+
30+ Build the application for production:
31+
32+ ``` bash
33+ npm run build
34+ ```
35+
36+ Locally preview production build:
37+
38+ ``` bash
39+ npm run preview
40+ ```
41+
42+ Checkout 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+ <NuxtPage />
4+ </div >
5+ </template >
Original file line number Diff line number Diff line change 1+ # About Content v2
2+
3+ [ Back home] ( / )
Original file line number Diff line number Diff line change 1+ # Nuxt Content
2+
3+ This page corresponds to the ` / ` route of your website. You can delete it or create another file in the ` content/ ` directory.
4+
5+ Try to navigate to [ /about] ( /about ) . These 2 pages are rendered by the ` pages/[...slug].vue ` component.
6+
7+ ---
8+
9+ Look at the [ Content documentation] ( https://content.nuxtjs.org/ ) to learn more.
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+ modules : [ '@nuxt/content' ]
5+ } )
Original file line number Diff line number Diff line change 1+ {
2+ "private" : true ,
3+ "type" : " module" ,
4+ "scripts" : {
5+ "build" : " nuxt build" ,
6+ "dev" : " nuxt dev" ,
7+ "generate" : " nuxt generate" ,
8+ "preview" : " nuxt preview"
9+ },
10+ "devDependencies" : {
11+ "@nuxt/content" : " ^2.8.5" ,
12+ "nuxt" : " ^3.8.0"
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ <template >
2+ <main >
3+ <ContentDoc />
4+ </main >
5+ </template >
You can’t perform that action at this time.
0 commit comments