kytta / vue-tinybox

🌌 A slick, yet tiny lightbox gallery for Vue.js
http://os.kytta.dev/vue-tinybox/
MIT License
94 stars 7 forks source link

Component import does not work in Nuxt.js #13

Closed kytta closed 4 years ago

kytta commented 5 years ago

Even though the output file clearly says export default Tinybox;, Nuxt keeps telling me stuff like export 'default' (imported as 'Tinybox') was not found in 'vue-tinybox'.

The component itself doesn't really work properly in an SSR-environment; gotta look into it.

kytta commented 4 years ago

I think I have figured it out without even addressing it. I changed the way I import the component in Nuxt and it worked, so hurray. Testing is still required though