CSS across all components extracted into a single file and minified with cssnano.
All static assets compiled with version hashes for efficient long-term caching, and a production index.html is auto-generated with proper URLs to these generated assets.
Use npm run build --reportto build with bundle size analytics.
vue-cli-template-vant
注意:本仓库适用于 vue-cli 2.0, vue-cli 3.0 请参考:https://youzan.github.io/vant/#/zh-CN/quickstart
Usage
If port 8080 is already in use on your machine you must change the port number in
/config/index.js. Otherwisenpm run devwill fail.What’s Included
npm run dev: first-in-class development experience.vue-loaderfor single file Vue components.npm run build: Production ready build.index.htmlis auto-generated with proper URLs to these generated assets.npm run build --reportto build with bundle size analytics.npm run unit: Unit tests run in PhantomJS with Karma + Mocha + karma-webpack.npm run e2e: End-to-end tests with Nightwatch.