|
пре 2 година | |
---|---|---|
build | пре 2 година | |
dist | пре 2 година | |
languages | пре 2 година | |
mock | пре 2 година | |
node_modules | пре 2 година | |
plop-templates | пре 2 година | |
public | пре 2 година | |
src | пре 2 година | |
.eslintignore | пре 2 година | |
.eslintrc.js | пре 2 година | |
.gitignore | пре 2 година | |
Dockerfile | пре 3 година | |
LICENSE | пре 2 година | |
README.md | пре 2 година | |
babel.config.js | пре 2 година | |
jest.config.js | пре 2 година | |
jsconfig.json | пре 2 година | |
nginx.conf | пре 4 година | |
package-lock-bak.json | пре 2 година | |
package-lock.json | пре 2 година | |
package.json | пре 2 година | |
plopfile.js | пре 2 година | |
postcss.config.js | пре 2 година | |
vue.config.js | пре 2 година |
# 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