Skip to content

Commit

Permalink
Add versions documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Elie Prudhomme committed Oct 7, 2016
1 parent 33393ea commit 2cd1eb0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ You can find a few examples and the documentation [here](https://eliep.github.io

| Vuejs version | vue-avatar version |
| ------------- | ----------------- |
| ^1.0.18 | 1.3.0 |
| ^2.0.0 | 2.0.0 |
| ^1.0.18 | ^1.3.0 |
| ^2.0.0 | ^2.0.0 |


## Usage
Expand Down
21 changes: 21 additions & 0 deletions gh-pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@
background-color: #eee
}

table tr:nth-child(2n) {
background-color: #f1f1f1;
}

table th {
border-top: 1px solid #ccc;
}

table td, table th {
padding: 8px 8px;
border-bottom: 1px solid #ccc;
}

.default-avatar {
display: inline-block;
margin: 3px;
Expand Down Expand Up @@ -77,6 +90,14 @@ <h2>Installation</h2>

<pre><code class="language-html">npm install vue-avatar</code></pre>


<h2>Versions</h2>
<table width="50%">
<tr><th>Vue.js</th><th>vue-avatar</th></tr>
<tr><td>^1.0.18</td><td>^1.3.0</td></tr>
<tr><td>^2.0.0</td><td>^2.0.0</td></tr>
</table>

<h2>Usage</h2>
<p>vue-avatar is a UMD module, which can be used as a module in both CommonJS and AMD modular environments.
When in non-modular environment, Avatar will be registered as a global variable.</p>
Expand Down

0 comments on commit 2cd1eb0

Please sign in to comment.