Skip to content

Commit

Permalink
docs(vue): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Mar 11, 2017
1 parent b0da9f2 commit 37daa7e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ You can manually initialize a Vue instance.
*index.html*

```html
<!-- inject css file -->
<link rel="stylesheet" href="//unpkg.com/vuep/dist/vuep.css">

<!-- inject javascript file -->
<script src="//unpkg.com/vue"></script>
<script src="//unpkg.com/vuep"></script>
<script src="//unpkg.com/docsify"></script>
Expand Down
25 changes: 25 additions & 0 deletions docs/zh-cn/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,18 @@
*index.html*

```html
<!-- inject css file -->
<link rel="stylesheet" href="//unpkg.com/vuep/dist/vuep.css">

<!-- inject javascript file -->
<script src="//unpkg.com/vue"></script>
<script src="//unpkg.com/vuep"></script>
<script src="//unpkg.com/docsify"></script>

<!-- or use the compressed files -->
<script src="//unpkg.com/vue/dist/vue.min.js"></script>
<script src="//unpkg.com/vuep/dist/vuep.min.js"></script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
```

*README.md*
Expand All @@ -84,4 +93,20 @@
</script>
```

<vuep template="#example"></vuep>

<script v-pre type="text/x-template" id="example">
<template>
<div>Hello, {{ name }}!</div>
</template>

<script>
module.exports = {
data: function () {
return { name: 'Vue' }
}
}
</script>
</script>

?> 具体效果参考 [Vuep 文档](https://qingwei-li.github.io/vuep/)

0 comments on commit 37daa7e

Please sign in to comment.