mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] add vue-cli english guide (#473)
This commit is contained in:
parent
9e6b663145
commit
3a8c35d195
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user