|
7 months ago | |
---|---|---|
build | 2 years ago | |
dist | 8 months ago | |
languages | 7 months ago | |
mock | 2 years ago | |
plop-templates | 2 years ago | |
public | 10 months ago | |
src | 7 months ago | |
.eslintignore | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 1 year ago | |
Dockerfile | 10 months ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
babel.config.js | 2 years ago | |
develop.md | 1 year ago | |
jest.config.js | 2 years ago | |
jsconfig.json | 2 years ago | |
nginx.conf | 1 year ago | |
package.json | 9 months ago | |
plopfile.js | 2 years ago | |
postcss.config.js | 2 years ago | |
set-envs.sh | 10 months ago | |
vue.config.js | 1 year ago |
# clone the project
git clone http://git.wdklian.com/allen/ncs_ui.git
# enter the project directory
cd ncs_ui
# install dependency
npm install --registry=https://registry.npm.taobao.org
# develop
npm run dev
This will automatically open http://localhost:9527
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
# 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