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
npmfor your package manager - Select
JavaScriptfor your programming language - Select
Tailwind CSSfor your UI framework - Select
contentbecause we are using Netlify CMS - Select
eslintorprettierdepending on your pursonal configuration - Select
nonefor a testing framework - Select
Universal (SSR/Static) for your rendering mode (we will be making a static site) - Select
Staticfor JAMStack hosting - Select
jsconfig.jsonorDependabotfor Development tools
- Select
- After Everything installs, Go into the project directory and set up your
.gitignoreby adding the following to it.env.nuxtnode_modules
- To test your new installation run
npm run dev- you can view it at
https://localhost:3000
- you can view it at