ruoyi-plus-soybean/README.md

36 lines
1.0 KiB
Markdown
Raw Normal View History

# soybean-admin-thin
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
## Type Support for `.vue` Imports in TS
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.
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.
## Customize configuration
2021-09-11 14:01:36 +08:00
See [Vite Configuration Reference](https://vitejs.dev/config/).
2021-11-24 11:53:32 +08:00
## Project Setup
2021-11-10 23:42:48 +08:00
```sh
npm install
2021-11-10 23:42:48 +08:00
```
### Compile and Hot-Reload for Development
2021-11-10 23:42:48 +08:00
```sh
npm run dev
2021-11-10 23:42:48 +08:00
```
### Type-Check, Compile and Minify for Production
2021-11-10 23:42:48 +08:00
```sh
npm run build
2021-11-10 23:42:48 +08:00
```