[help wanted] how to make a component compatible nuxt.js SSR
[issue link]hi ,
I want write a component , publish on npm
but , even I don’t write any thing , I got error
[nuxt.js] Cannot load components TypeError: Cannot read property 'toLowerCase' of undefined
//mycomponent.js
const MyComponent = {
install: function(Vue, options) { }
};
module.exports = MyComponent;
index.vue
import Vue from 'vue';
const mycomponent = require('./mycomponent.js');
Vue.use(mycomponent);
If I want compatible nuxt.js SSR , do I need implement what ?
have any one can give some reference ?
thanks.