- npm install
- npm run dev
- npm run build
- npm run test:unit
- npm run test:e2e:dev
- npm run test:e2e
- npm run lint- need a debug tool for VUE name: ViteBlob (eg:Redux DevTools,firebug)
- should export every JSON file and print able print: HP printer
- need a debug Extension for VSCode name: ViteBlob (eg:Redux DevTools,firebug)
Halo Infinite - Microsoft
This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
See Vite Configuration Reference.
Run Unit Tests with Vitest
Run End-to-End Tests with Cypress
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:e2eLint with ESLint
npm run lint