2022-01-03 22:20:10 +08:00
# soybean-admin-thin
2021-11-10 23:53:18 +08:00
2022-01-03 22:20:10 +08:00
This template should help get you started developing with Vue 3 in Vite.
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
## Recommended IDE Setup
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
[VSCode ](https://code.visualstudio.com/ ) + [Volar ](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar ) (and disable Vetur).
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
## Type Support for `.vue` Imports in TS
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
2021-09-09 00:31:41 +08:00
2022-01-03 22:20:10 +08:00
## Customize configuration
2021-09-11 14:01:36 +08:00
2022-01-03 22:20:10 +08:00
See [Vite Configuration Reference ](https://vitejs.dev/config/ ).
2021-11-24 11:53:32 +08:00
2022-01-03 22:20:10 +08:00
## Project Setup
2021-11-10 23:42:48 +08:00
2022-01-03 22:20:10 +08:00
```sh
npm install
2021-11-10 23:42:48 +08:00
```
2022-01-03 22:20:10 +08:00
### Compile and Hot-Reload for Development
2021-11-10 23:42:48 +08:00
2022-01-03 22:20:10 +08:00
```sh
npm run dev
2021-11-10 23:42:48 +08:00
```
2022-01-03 22:20:10 +08:00
### Type-Check, Compile and Minify for Production
2021-11-10 23:42:48 +08:00
2022-01-03 22:20:10 +08:00
```sh
npm run build
2021-11-10 23:42:48 +08:00
```