[Doc] Button: add route demo (#4068)

This commit is contained in:
neverland
2019-08-08 19:25:56 +08:00
committed by GitHub
parent bc4323b128
commit 09c618d475
8 changed files with 54 additions and 14 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ Vue.use(Cell).use(CellGroup);
```html
<van-cell-group>
<van-cell title="Cell title" is-link url="//youzan.github.io/vant/mobile.html" />
<van-cell title="Cell title" is-link to="index" />
<van-cell title="URL" is-link url="//youzan.github.io/vant/mobile.html" />
<van-cell title="Vue Router" is-link to="index" />
</van-cell-group>
```