Volar (and disable Vetur)
"stylelint.validate": [
"vue"
]
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.formatDocument": true,
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
See Vite Configuration Reference.
npm i -g @vue/cli`
Follow the installation guide of nvm
nvm use
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e
before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint
Lint CSS with StyleLint
npm run lint:style
Supports a set of completely unstyled, fully accessible UI components.