Look at the Nuxt 3 and NuxtUI documentation to learn more.
- ESLint
# check .ts,.js,.vue
yarn lint:eslint
# fix
yarn fix:eslint
- Prettier
# check .
yarn lint:prettier
# fix
yarn fix:prettier
- Stylelint
# check .scss,.vue
yarn lint:stylelint
# fix
yarn fix:stylelint
- Check All
yarn lint
- Fix All
yarn fix
- Commitizen. Using git-cz
yarn commit
# or it's the same but committing all files
yarn commit:all
- Husky
.husky/pre-commit
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn lint:fix
- Husky
.husky/pre-push
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# yarn build
I'm using NVM and Yarn if you don't have it, install it first.
# if you don't have node 18 version you will need to install it first
nvm use
yarn install
yarn dev
Build the application for production:
yarn build
Locally preview production build:
yarn preview
Check out the deployment documentation for more information.