This Nuxt template offers a fully integrated development workflow, designed to streamline your project setup and enhance code quality. Provides everything you need for a fast, reliable, and clean development experience, from local development to production deployment. SSR is also set by default.
-
First make sure u have installed latest versions of Node.js and npm
-
I recommend use nvm for install latest supported versions of Node.js and npm
nvm use --lts
- Clone this repository
git clone https://github.com/Atomic-IT/NuxtStarter.git
- Install modules and run project
npm i
npm run dev
- Your app is now accessible at http://localhost:3000
-
First make sure u have installed latest versions of Docker
-
Clone this repository
git clone https://github.com/Atomic-IT/NuxtStarter.git
- Build and run container
docker compose up --build -d
- Your app is now accessible at http://localhost:3000
Possible problems:
- Permission denied while trying to connect to the Docker - It's problem with user permissions, read about post-install actions
-
npm run dev
- Nuxt dev -
npm run build
- Nuxt build with pre-render -
npm run preview
- Nuxt preview -
npm run postinstall
- Nuxt postinstall -
npm run prepare:husky
- Husky postinstall -
npm run check
- Prettier check -
npm run write
- Prettier write -
npm run lint
- ESLint check -
npm run lint --fix
- ESLint fix -
npm run slint
- Stylelint check -
npm run test
- Vitests run -
npm run test:coverage
- Vitests run with coverage -
npm run test:watch
- Vitests run with watch changes -
npm run typeslint
- Typeslint check