Not compatible with vue SSR
davidgiga1993 opened this issue · 2 comments
davidgiga1993 commented
When using vue-feather with the SSR feature of vue (for example with vuepress) adding this plugin causes issues since it's accessing document
which is not available during SSR rendering.
The issue occurs after the import at this line
var HEAD = document.head || document.getElementsByTagName('head')[0];
Would it be possible to refactor this so it's compatible with SSR?
fengyuanchen commented
Just release a new version for this, try it.
natedunn commented
Hmm. I still got this error. Checking to see if got things set up correctly, though...