From 3a8c35d1952c8bc73d51d19fbb8cca7e4eb6b17f Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 22 Dec 2017 16:36:57 +0800 Subject: [PATCH] [Doc] add vue-cli english guide (#473) --- docs/markdown/en-US/quickstart.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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",