Skip to content

Commit

Permalink
更新文档依赖的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed May 3, 2019
1 parent 03cd7e4 commit a201e4f
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 16 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# easy-affix | Vue 图钉组件

[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg)](https://opensource.org/licenses/mit-license.php)
[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/easy-affix.svg)](https://www.npmjs.com/package/easy-affix)
[![size](https://img.shields.io/bundlephobia/minzip/easy-affix.svg)](https://www.npmjs.com/package/easy-affix)
[![download](https://img.shields.io/npm/dw/easy-affix.svg)](https://npmcharts.com/compare/easy-affix?minimal=true)
Expand Down
29 changes: 18 additions & 11 deletions documentation/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,26 @@
<section id="usage">
<h2>使用</h2>
<blockquote>
<pre class="language-js"><code class="language-js">// 局部引入
import Affix from 'easy-affix'
export default {
components: {
Affix
}
}</code></pre>
<pre class="language-js">
<code class="language-js">
// 局部引入
import Affix from 'easy-affix'
export default {
components: {
Affix
}
}
</code>
</pre>
</blockquote>
<blockquote>
<pre class="language-js"><code class="language-js">// 全局引入
import Affix from 'easy-affix'
Vue.component('affix', Affix)
</code></pre>
<pre class="language-js">
<code class="language-js">
// 全局引入
import Affix from 'easy-affix'
Vue.component('affix', Affix)
</code>
</pre>
</blockquote>
</section>

Expand Down
87 changes: 84 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"core-js": "^2.6.5",
"easy-github-pages": "^1.0.1",
"easy-github-pages": "^1.1.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"lint-staged": "^8.1.5",
Expand Down

0 comments on commit a201e4f

Please sign in to comment.