File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1- # [ vue-intersection-observer] ( https://github.com/BiYuqi/webpack-seed )
2-
3- <p align =" left " >
4- </p >
1+ # [ vue-intersection-observer] ( https://github.com/BiYuqi/vue-intersection-observer )
52
63## 前言
74** Vue Intersection Observer** 是一个Vue组件,基于[ IntersectionObserver API] ( https://developer.mozilla.org/zh-CN/docs/Web/API/Intersection_Observer_API ) 的集成, 包装,便于实现需要用到元素交集变化的信息.
@@ -20,7 +17,7 @@ npm i vue-intersection-observer -S
2017
2118在懒加载图片中使用(Usage in Lazy-load-image):
2219
23- [ Demo] ( http ://loadingmore.com /vue-intersection-observer/#/lazy-load)
20+ [ Demo] ( https ://biyuqi.github.io /vue-intersection-observer/#/lazy-load)
2421
2522``` js
2623<!-- 基于本插件封装LazyImage组件 -->
@@ -138,7 +135,7 @@ npm install --save intersection-observer
138135
139136## 文档 ( Documentation )
140137
141- [ DEMO] ( http ://loadingmore.com /vue-intersection-observer)
138+ [ DEMO] ( https ://biyuqi.github.io /vue-intersection-observer)
142139
143140## Options And Method
144141Name | Type | Default | Required | Description
@@ -174,5 +171,3 @@ onChange(entry, unobserve) {
174171 // The method can remove target describe
175172}
176173```
177-
178- > 文档不够完善,会持续补充.
Original file line number Diff line number Diff line change 1- const path = require ( "path" ) ;
21const isProd = process . env . NODE_ENV === "production" ;
32
43module . exports = {
5- publicPath : isProd ? '/vue-intersection-observer/' : '/'
4+ publicPath : isProd ? "/vue-intersection-observer/" : "/" ,
5+ productionSourceMap : false
66} ;
You can’t perform that action at this time.
0 commit comments