diff --git a/docs/markdown/en-US/quickstart.md b/docs/markdown/en-US/quickstart.md index 4bc267787..2b80c0c91 100644 --- a/docs/markdown/en-US/quickstart.md +++ b/docs/markdown/en-US/quickstart.md @@ -59,6 +59,12 @@ Vue.use(Vant); ``` +### vue-cli template + +```shell +vue init youzan/vue-cli-template-vant projectName +``` + ### Props Named Style HTML attributes are case-insensitive, so when using non-string templates, camelCased prop names need to use their kebab-case (hyphen-delimited) equivalents. diff --git a/package.json b/package.json index 9dd815c3e..8ae6427d5 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js", "deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js", "dist": "node build/bin/build-lib.js", - "lint": "./node_modules/.bin/eslint ./packages --ext .js --ext .vue", + "lint": "./node_modules/.bin/eslint ./packages --ext .js,.vue", "test": "karma start test/unit/karma.conf.js --single-run", "test:coverage": "open test/unit/coverage/lcov-report/index.html", "test:watch": "karma start test/unit/karma.conf.js",