how to use with nuxt.js?
DaxChen opened this issue · 2 comments
DaxChen commented
Hi,
Thank you for making this library.
However, I can't get this to work with nuxt.js
.
If I put the Vue.use part in nuxt.js plugins, as shown here
I get an error saying the export
keyword is Invalid token
in export default VueScrollReveal;
Thanks
tserkov commented
It looks like I never packaged the library! :shame:
My code is ES6, which will need to be transpiled through Babel. When I get back from holiday, I'll push the output of Vue dist so it can be used without.
Thanks for noticing!