forked from JointCloud/JCC-RIP
46 lines
683 B
Markdown
46 lines
683 B
Markdown
# JCCE
|
|
Thanks to KubeSphere and Harvester for providing back-end support for this system.
|
|
## need node environment
|
|
|
|
## install dependencies
|
|
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### Commands for Compilation and Hot Reloading
|
|
|
|
```
|
|
npm run dev
|
|
```
|
|
|
|
### Production Environment Build Commands
|
|
|
|
```
|
|
npm run build
|
|
```
|
|
|
|
```bash
|
|
# build for test environment
|
|
npm run build:stage
|
|
|
|
# build for production environment
|
|
npm run build:prod
|
|
```
|
|
|
|
## Advanced
|
|
|
|
```bash
|
|
# preview the release environment effect
|
|
npm run preview
|
|
|
|
# preview the release environment effect + static resource analysis
|
|
npm run preview -- --report
|
|
|
|
# code format check
|
|
npm run lint
|
|
|
|
# code format check and auto fix
|
|
npm run lint -- --fix
|
|
```
|