Make sure to install the dependencies
ni
nr dev
Default port is
:3000
nr build
Check the deployment docs.
It's highly recommended to set up commits' fixing by linter.
We're using a simple-git-hooks package.
- Update packages
ni
- Set git's hooks directory
git config core.hooksPath .git/hooks/ rm -rf .git/hooks
Note It's important because your local git hooks dir's path might be overriden by similar package -
husky
- if you have tried it. - Say
simple-git-hooks
to start doing its magic:npx simple-git-hooks
After that your staged files will be checked and fixed locally on commit.
Get and use dbaeumer.vscode-eslint
.
But you've probably installed it within all the other recommended extensions already, haven't you?
...And ofc keep the nuxt docs opened ;)