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 usenpm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Cypress
npm run test:e2e:devThis 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:e2eLint with ESLint
npm run lintLint CSS with StyleLint
npm run lint:styleSupports a set of completely unstyled, fully accessible UI components.