We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using with parcel, I installed it through npm, here is the code:
parcel
import BotUI from 'botui' import Vue from 'vue' let botui = new BotUI('bot', { vue: Vue });
The text was updated successfully, but these errors were encountered:
Hey, seems like parcel is resolving the module from the client side so the BotUI instance is available on window object.
BotUI
window
You can use it like this for now:
import _botui from 'botui' import Vue from 'vue' let botui = new window.BotUI('bot', { vue: Vue });
Sorry, something went wrong.
Original issue gone, and thrown other error You are using runtime build of vue so I changed the vue import to
You are using runtime build of vue
import Vue from 'vue/dist/vue.esm.js';
It's fixed. Thanks.
No branches or pull requests
I'm using with
parcel
, I installed it through npm, here is the code:The text was updated successfully, but these errors were encountered: