Overview:
The Nuxt3 Template is a development template for Nuxt.js version 3. It includes essential libraries for developing with Nuxt.js version 3 as of November 2023. The template is designed to provide a starting point for developers and includes additional features such as eslint/prettier/stylelint configuration and recommended Visual Studio Code extensions. The installation process involves setting up the necessary dependencies and running specific commands.
Features:
- nuxt: Version 3.8.2
- vuetify: Version 3.4.2
- vitest: Version 0.34.6
- typescript: Version 5.2.2
- @nuxt/devtools: Version 1.0.3
- yarn: Version 4.0.2
Installation:
If you are using yarn@v1:
corepack enable
yarn set version stable
For Local:
npm install
npm run dev
For Docker:
docker compose build
docker compose up
For test:
npm run test:ui
If you encounter the “Can’t find module yarn-3.x.x.cjs” error:
- Delete the
node_modulesfolder. - Copy the contents of
.yarnrc.ymlto another location, then delete.yarnrc.yml. - Remove the
packageManagerattribute inpackage.json. - Run
yarn set version stableagain. - Restore the contents to
.yarnrc.yml. - Run
yarnoryarn installagain.
Summary:
The Nuxt3 Template is a development template for Nuxt.js version 3 that includes essential libraries and additional features for easier development. The installation process involves setting up dependencies and running specific commands. Overall, it provides a convenient starting point for developers working with Nuxt.js version 3.