|
%!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.idea | %!s(int64=3) %!d(string=hai) anos | |
build | %!s(int64=3) %!d(string=hai) anos | |
dist | %!s(int64=3) %!d(string=hai) anos | |
languages | %!s(int64=3) %!d(string=hai) anos | |
mock | %!s(int64=4) %!d(string=hai) anos | |
node_modules | %!s(int64=4) %!d(string=hai) anos | |
plop-templates | %!s(int64=4) %!d(string=hai) anos | |
public | %!s(int64=3) %!d(string=hai) anos | |
src | %!s(int64=3) %!d(string=hai) anos | |
.env | %!s(int64=3) %!d(string=hai) anos | |
.eslintignore | %!s(int64=4) %!d(string=hai) anos | |
.eslintrc.js | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
Dockerfile | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
babel.config.js | %!s(int64=4) %!d(string=hai) anos | |
jest.config.js | %!s(int64=4) %!d(string=hai) anos | |
jsconfig.json | %!s(int64=4) %!d(string=hai) anos | |
nginx.conf | %!s(int64=4) %!d(string=hai) anos | |
package-lock.json | %!s(int64=3) %!d(string=hai) anos | |
package.json | %!s(int64=3) %!d(string=hai) anos | |
plopfile.js | %!s(int64=4) %!d(string=hai) anos | |
postcss.config.js | %!s(int64=4) %!d(string=hai) anos | |
vue.config.js | %!s(int64=3) %!d(string=hai) anos |
# 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