|
пре 1 недеља | |
---|---|---|
build | пре 2 година | |
dist | пре 2 месеци | |
languages | пре 1 недеља | |
mock | пре 2 година | |
plop-templates | пре 2 година | |
public | пре 1 недеља | |
src | пре 1 недеља | |
.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 | пре 1 месец | |
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