Skip to content

Atomic commits exploring the Nuxt 3 Content module from scratch to wrap my head around it step-by-step

Notifications You must be signed in to change notification settings

awebfactory/learning-nuxt-content-from-scratch

Repository files navigation

Content v2 Minimal Starter

Creation

$ npx nuxi init content-from-scratch -t content
Nuxi 3.0.0-rc.12                                                                                                                                                                                         12:29:42

 ERROR  (node:621084) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time                                                                               12:29:42
(Use `node --trace-warnings ...` to show where the warning was created)

✨ Nuxt project is created with content template. Next steps:                                                                                                                                            12:29:43
 › cd content-from-scratch-01                                                                                                                                                                            12:29:43
 › Install dependencies with npm install or yarn install or pnpm install --shamefully-hoist                                                                                                              12:29:43
 › Start development server with npm run dev or yarn dev or pnpm run dev

$ cd content-from-scratch
$ npm i
ls
$ npm run dev

Auto API!

All content available as API automatically

Commits

See All commits to see learning steps

Starter Doc (original README)

Look at the Content documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

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

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

Initial commit

Releases

No releases published

Packages

No packages published