57 lines
482 B
Markdown
57 lines
482 B
Markdown
# base
|
|
|
|
## Project setup
|
|
|
|
```
|
|
# yarn
|
|
yarn
|
|
|
|
# npm
|
|
npm install
|
|
|
|
# pnpm
|
|
pnpm install
|
|
```
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```
|
|
# yarn
|
|
yarn dev
|
|
|
|
# npm
|
|
npm run dev
|
|
|
|
# pnpm
|
|
pnpm dev
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
|
|
```
|
|
# yarn
|
|
yarn build
|
|
|
|
# npm
|
|
npm run build
|
|
|
|
# pnpm
|
|
pnpm build
|
|
```
|
|
|
|
### Lints and fixes files
|
|
|
|
```
|
|
# yarn
|
|
yarn lint
|
|
|
|
# npm
|
|
npm run lint
|
|
|
|
# pnpm
|
|
pnpm lint
|
|
```
|
|
|
|
### Customize configuration
|
|
|
|
See [Configuration Reference](https://vitejs.dev/config/).
|