File tree Expand file tree Collapse file tree 4 files changed +1114
-14
lines changed Expand file tree Collapse file tree 4 files changed +1114
-14
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 1.0.7 " ></a >
2+ ## [ 1.0.7] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.6...v1.0.7 ) (2017-09-15)
3+
4+
5+
6+ <a name =" 1.0.6 " ></a >
7+ ## [ 1.0.6] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.5...v1.0.6 ) (2017-09-14)
8+
9+
10+ ### Features
11+
12+ * ** component:** make prop viewport working ([ 5a1db8a] ( https://github.com/xunleif2e/vue-lazy-component/commit/5a1db8a ) )
13+
14+
15+
16+ <a name =" 1.0.5 " ></a >
17+ ## [ 1.0.5] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.4...v1.0.5 ) (2017-09-13)
18+
19+
20+ ### Bug Fixes
21+
22+ * ** observer:** make observer more sensitive ([ c7fa734] ( https://github.com/xunleif2e/vue-lazy-component/commit/c7fa734 ) )
23+
24+
25+
26+ <a name =" 1.0.4 " ></a >
27+ ## [ 1.0.4] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.3...v1.0.4 ) (2017-09-13)
28+
29+
30+ ### Bug Fixes
31+
32+ * ** observer:** fix observer callback didn't exec ([ d67f15e] ( https://github.com/xunleif2e/vue-lazy-component/commit/d67f15e ) )
33+
34+
35+
36+ <a name =" 1.0.3 " ></a >
37+ ## [ 1.0.3] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.2...v1.0.3 ) (2017-09-13)
38+
39+
40+ ### Bug Fixes
41+
42+ * ** observer:** no isIntersecting bug ([ 5e7c349] ( https://github.com/xunleif2e/vue-lazy-component/commit/5e7c349 ) )
43+
44+
45+
46+ <a name =" 1.0.2 " ></a >
47+ ## [ 1.0.2] ( https://github.com/xunleif2e/vue-lazy-component/compare/v1.0.1...v1.0.2 ) (2017-09-12)
48+
49+
50+
51+ <a name =" 1.0.1 " ></a >
52+ ## [ 1.0.1] ( https://github.com/xunleif2e/vue-lazy-component/compare/4738b55...v1.0.1 ) (2017-09-12)
53+
54+
55+ ### Bug Fixes
56+
57+ * ** demo:** fix demo highlight bug ([ 7b67c74] ( https://github.com/xunleif2e/vue-lazy-component/commit/7b67c74 ) )
58+ * ** demo:** rebuild demo page ([ 9868912] ( https://github.com/xunleif2e/vue-lazy-component/commit/9868912 ) )
59+ * ** observer:** fix observer bug ([ 9fa8a45] ( https://github.com/xunleif2e/vue-lazy-component/commit/9fa8a45 ) )
60+
61+
62+ ### Features
63+
64+ * ** main:** Add chunks example ([ 3518f4e] ( https://github.com/xunleif2e/vue-lazy-component/commit/3518f4e ) )
65+ * ** main:** first version ([ 4738b55] ( https://github.com/xunleif2e/vue-lazy-component/commit/4738b55 ) )
66+
67+
68+ ### BREAKING CHANGES
69+
70+ * ** main:** 支持 组可见或即将可见时懒加载
71+
72+
73+
Original file line number Diff line number Diff line change 11# Vue Lazy Component
22
33
4- [ ![ npm version] ( https://badge.fury.io/js/%40xunlei%2Fvue-lazy-component.svg )] ( https://badge.fury.io/js/%40xunlei%2Fvue-lazy-component )
4+ [ ![ npm] ( https://img.shields.io/npm/v/@xunlei/vue-lazy-component.svg )] ( https://www.npmjs.com/package/@xunlei/vue-lazy-component )
5+ [ ![ Commitizen friendly] ( https://img.shields.io/badge/commitizen-friendly-brightgreen.svg )] ( http://commitizen.github.io/cz-cli/ )
6+ [ ![ Git flow work flow] ( https://img.shields.io/badge/git--flow-workflow-brightgreen.svg )] ( https://github.com/nvie/gitflow/ )
7+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/xunleif2e/vue-lazy-component.svg )] ( https://github.com/xunleif2e/vue-lazy-component/stargazers )
8+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/xunleif2e/vue-lazy-component.svg )] ( https://github.com/xunleif2e/vue-lazy-component/issues )
9+ [ ![ GitHub forks] ( https://img.shields.io/github/forks/xunleif2e/vue-lazy-component.svg )] ( https://github.com/xunleif2e/vue-lazy-component/network )
10+ [ ![ GitHub license] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://raw.githubusercontent.com/xunleif2e/vue-lazy-component/master/LICENSE )
511
612> Vue.js 2.0 组件级懒加载方案
713
@@ -112,10 +118,6 @@ https://github.com/w3c/IntersectionObserver/tree/gh-pages/polyfill
112118
113119https://cn.vuejs.org/v2/guide/components.html#作用域插槽
114120
115- ## ChangeLog
116- - [ 1.0.0] 2017-09-11
117- - 实现懒加载组件的基本功能
118-
119121## Development Setup
120122
121123``` bash
@@ -133,8 +135,25 @@ npm run build:library
133135
134136# build demo
135137npm run build:demo
138+
139+ # commit use commitizen
140+ npm run commit
141+
142+ # pre publish
143+ npm run prepublish
144+
145+ # generate changelog
146+ npm run changelog
136147```
137148
149+ ## Roadmap
150+
151+ - SSR 支持 @ v1.1.0
152+
153+ - UI单元测试 @ v1.2.0
154+
155+ - 减少性能开销 @ v1.3.0
156+
138157## License
139158
140159[ MIT] ( http://opensource.org/licenses/MIT )
You can’t perform that action at this time.
0 commit comments