|
6 месяцев назад | |
---|---|---|
build | 2 лет назад | |
dist | 8 месяцев назад | |
languages | 6 месяцев назад | |
mock | 2 лет назад | |
plop-templates | 2 лет назад | |
public | 10 месяцев назад | |
src | 6 месяцев назад | |
.eslintignore | 2 лет назад | |
.eslintrc.js | 2 лет назад | |
.gitignore | 1 год назад | |
Dockerfile | 10 месяцев назад | |
LICENSE | 2 лет назад | |
README.md | 2 лет назад | |
babel.config.js | 2 лет назад | |
develop.md | 1 год назад | |
jest.config.js | 2 лет назад | |
jsconfig.json | 2 лет назад | |
nginx.conf | 1 год назад | |
package.json | 9 месяцев назад | |
plopfile.js | 2 лет назад | |
postcss.config.js | 2 лет назад | |
set-envs.sh | 10 месяцев назад | |
vue.config.js | 1 год назад |
# 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