-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unexpected token import #7
Comments
i think the issue is about babel-loader config in your project |
I've investigated this a lot but couldn't find any which is even related to the |
I'm using it with the same template, we have the same case. |
Yeah, it may work but I don't want to manage any dependencies without the dependency manager. I'd rather switch to a different library or wait until it's fixed. |
ok, let's hope it'll be fixed soon |
I'm also using You need to add // .electron-vue/webpack.renderer.config.js:21
let whiteListedModules = ['vue', 'vue-bulma-collapse', 'vue-bulma-tooltip', 'vue-bulma-notification']
let rendererConfig = {
devtool: '#cheap-module-eval-source-map',
entry: {
renderer: path.join(__dirname, '../src/renderer/main.js')
},
.... |
I'm using this in a Electron Vue project and unfortunately the tooltip isn't working and shows the following error:
It looks like the console is having an issue with the first line of the
import
but I'm not sure what's could be wrong there. Any thoughts about this?The text was updated successfully, but these errors were encountered: