Closed
Description
i just add import InfiniteLoading from 'vue-infinite-loading';
in the .vue
file
it happen
You can pass an object with default values to suppress this warning.
See https://webpack.js.org/plugins/environment-plugin for example.
nuxt:render Rendering url / +24s
{ ReferenceError: window is not defined
at Object.<anonymous> (/Users/shinriyo/development/soba_site/node_modules/vue-infinite-loading/dist/vue-infinite-loading.js:6:218)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at r (/Users/shinriyo/development/soba_site/node_modules/vue-server-renderer/build.js:8341:16)
at Object.<anonymous> (server-bundle.js:3788:18)
at __webpack_require__ (webpack:/webpack/bootstrap 737fcb4b3ce738a25c0e:25:0)
at Object.<anonymous> (components/TheTimeLine.vue?7039:1:0)
at __webpack_require__ (webpack:/webpack/bootstrap 737fcb4b3ce738a25c0e:25:0)
at Object.<anonymous> (components/TheTimeLine.vue:1:0)
at __webpack_require__ (webpack:/webpack/bootstrap 737fcb4b3ce738a25c0e:25:0)
at Object.<anonymous> (pages/index.vue?09dc:1:0) statusCode: 500, name: 'ReferenceError' }