|
il y a 1 an | |
---|---|---|
build | il y a 2 ans | |
dist | il y a 1 an | |
languages | il y a 1 an | |
mock | il y a 2 ans | |
plop-templates | il y a 2 ans | |
public | il y a 1 an | |
src | il y a 1 an | |
.eslintignore | il y a 2 ans | |
.eslintrc.js | il y a 2 ans | |
.gitignore | il y a 1 an | |
Dockerfile | il y a 1 an | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
babel.config.js | il y a 2 ans | |
develop.md | il y a 1 an | |
jest.config.js | il y a 2 ans | |
jsconfig.json | il y a 2 ans | |
nginx.conf | il y a 4 ans | |
package.json | il y a 1 an | |
plopfile.js | il y a 2 ans | |
postcss.config.js | il y a 2 ans | |
set-envs.sh | il y a 1 an | |
vue.config.js | il y a 1 an |
# 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