These are basic instructions for installing NuxtJS for CMS managed static website.
Nuxt provides a useful CLI that does a lot of the heavy lifting. You can install with yarn
, npx
, or npm
.
- Note that if you install with yarn, it will require that you use node v14 instead of v16 because of a strapi dependency.
- Quick start by running
npm init nuxt-app <project-name>
- Select
npm
for your package manager - Select
JavaScript
for your programming language - Select
Tailwind CSS
for your UI framework - Select
content
because we are using Netlify CMS - Select
eslint
orprettier
depending on your pursonal configuration - Select
none
for a testing framework - Select
Universal (SSR/Static
) for your rendering mode (we will be making a static site) - Select
Static
for JAMStack hosting - Select
jsconfig.json
orDependabot
for Development tools
- Select
- After Everything installs, Go into the project directory and set up your
.gitignore
by adding the following to it.env
.nuxt
node_modules
- To test your new installation run
npm run dev
- you can view it at
https://localhost:3000
- you can view it at