vue-lazy-component
vue-lazy-component copied to clipboard
🐌 Vue.js 2.x 组件级懒加载方案-Vue.js 2.x component level lazy loading solution
D:\worspace\ilab_app>npm install @xunlei/vue-lazy-component --save-dev npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to http://registry.npm.taobao.org/@xunlei%2fvue-lazy-component failed, reason: connect ETIMEDOUT 124.200.113.114:80 npm ERR! network This is a problem...
如题,就是比如我进入一个页面,但是我还未滚到,我点击某个地方,想懒加载组件开始加载,我可以怎么办?
如果项目使用 vue-i18n 当子组件外层包裹 vue-lazy-component 会导致 子组件 $i18n null $i18n无法映射到子组件中
ios端无法加载
mint-ui框架,ios端无法显示,android端正常
IOS无法加载
vue-cli 无法加载

``` 热销新品 abcd ``` 基本代码如上方所示。运行后没有懒加载效果,都是直接加载出来了。另外有一个疑问,比如我上面的product-block是import进来的组件,那是不是需要去掉这个组件的import还有Components:{}里的定义呢?