|
hace 2 años | |
---|---|---|
build | hace 3 años | |
dist | hace 3 años | |
languages | hace 2 años | |
mock | hace 4 años | |
node_modules | hace 4 años | |
plop-templates | hace 4 años | |
public | hace 3 años | |
src | hace 2 años | |
.eslintignore | hace 4 años | |
.eslintrc.js | hace 3 años | |
.gitignore | hace 3 años | |
Dockerfile | hace 3 años | |
LICENSE | hace 4 años | |
README.md | hace 3 años | |
babel.config.js | hace 4 años | |
jest.config.js | hace 4 años | |
jsconfig.json | hace 4 años | |
nginx.conf | hace 4 años | |
package-lock.json | hace 2 años | |
package.json | hace 2 años | |
plopfile.js | hace 4 años | |
postcss.config.js | hace 4 años | |
vue.config.js | hace 3 años |
# 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