/nuxt3-nuxtUI-starter

Starter kit for developing projects using Nuxt 3 + NuxtUi + Codestyle

Primary LanguageVue

Nuxt 3 + NuxtUI + Codestyle Starter

Netlify Status

Look at the Nuxt 3 and NuxtUI documentation to learn more.

Tools and commands:

  1. ESLint
# check .ts,.js,.vue
yarn lint:eslint

# fix
yarn fix:eslint
  1. Prettier
# check .
yarn lint:prettier

# fix
yarn fix:prettier
  1. Stylelint
# check .scss,.vue
yarn lint:stylelint

# fix
yarn fix:stylelint
  1. Check All
yarn lint
  1. Fix All
yarn fix
  1. Commitizen. Using git-cz
yarn commit
# or it's the same but committing all files
yarn commit:all
  1. Husky .husky/pre-commit
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint:fix
  1. Husky .husky/pre-push
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# yarn build

Development

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

Production

Build the application for production:

yarn build

Locally preview production build:

yarn preview

Check out the deployment documentation for more information.