[bugfix] module circular dependency (#728)

This commit is contained in:
neverland
2018-03-19 20:49:35 +08:00
committed by GitHub
parent b5b7d33534
commit 639ef64d96
72 changed files with 79 additions and 97 deletions
-12
View File
@@ -63,15 +63,3 @@ Vue.use(Vant);
```shell
vue init youzan/vue-cli-template-vant projectName
```
### Props 命名风格
Vant 文档中的 props 默认采用驼峰式命名 (camelCase)。由于 HTML 特性是不区分大小写的,如果在 HTML 中直接书写 Vue 模板,需要使用短横线分割式 (kebab-case) 的命名来传递 props
``` html
<!-- 在 JavaScript 中使用 camelCase -->
<van-cell isLink />
<!-- 在 HTML 中使用 kebab-case-->
<van-cell is-link />
```