You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
12
+
13
+
## Customize configuration
14
+
15
+
See [Vite Configuration Reference](https://vite.dev/config/).
16
+
17
+
## Project Setup
18
+
19
+
```sh
20
+
npm install
21
+
```
22
+
23
+
### Compile and Hot-Reload for Development
24
+
25
+
```sh
26
+
npm run dev
27
+
```
28
+
29
+
### Type-Check, Compile and Minify for Production
30
+
31
+
```sh
32
+
npm run build
33
+
```
34
+
35
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
36
+
37
+
```sh
38
+
npm run test:unit
39
+
```
40
+
41
+
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
42
+
43
+
```sh
44
+
npm run test:e2e:dev
45
+
```
46
+
47
+
This runs the end-to-end tests against the Vite development server.
48
+
It is much faster than the production build.
49
+
50
+
But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):
0 commit comments