-
-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing importing vue2 version #85
Comments
I have to import it like this: |
I tried it myself, Anyway, I'll have to investigate how to play nice with Nuxt. |
@ts1 did you find out how to make it work with Nuxt.js ? |
Hello. For Nuxt 2, easiest way is to register it as a plugin component. Under
Then in
If you are using TypeScript (Nuxt 2 class component), register a module type so it won't return tslint errors:
Then should work in your vue files:
|
@AndreiD Not really. It looks like the offender is |
Here is reproduction: https://stackblitz.com/edit/nuxt-starter-playground-gckgi7?file=plugins%2Fflipbook.js
import Flipbook from 'flipbook-vue/vue2'
gives this error:The text was updated successfully, but these errors were encountered: