1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

[Doc] add vue-cli english guide ()

This commit is contained in:
neverland 2017-12-22 16:36:57 +08:00 committed by GitHub
parent 9e6b663145
commit 3a8c35d195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions
docs/markdown/en-US
package.json

@ -59,6 +59,12 @@ Vue.use(Vant);
<script src="https://unpkg.com/vant/lib/vant.min.js"></script>
```
### 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.

@ -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",