-
Notifications
You must be signed in to change notification settings - Fork 19
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
Uncaught SyntaxError: Unexpected token < #4
Comments
did you use webpack and vue-loader? |
Yep, both. I'm using the CLI from electron-vue |
let me try with this template. will get back to you soon. |
Just tested installing the components on my own components folder and it worked. Is there any way to use it as standalone to just import from node_modules? Edit: It's also missing the bounce-*'s css classes for the transition. Maybe I didn't get it and these components are only to be usable on vue-admin? |
I tested with electron-vue but your issue didn't occur. I installed these dependencies:
|
standalone component will be the next step for vue bulma. |
Ah, so we need to add vue-admin either way? |
no, need bulma and related loaders. Vue admin is just an united demo for all vue-bulma components. |
Could you please show me the code on that repo you said? |
Got it to work, I updated all my packages and added the bulma alias on webpack. Thanks a lot @luventa ! |
np |
So I was getting everything in order and the error occurried again, I noticed that when I have
on my dependencies, I get that error again, and when I delete that line it works great. Do you have any idea what could be? Edit: I Also noticed you don't have the dependency on your repo (app/package.json). Edit 2: Looks like it have to stay on devDependencies. |
I guess this situation is cased by webpack config of electron-vue. And I'm trying to figure out why. it doesn't make sense. I need to raise an issue to electron-vue... |
I'm getting this error after just installing on my project
Edit: as standalone component.
I did the
npm install vue-bulma-notification --save
and when I try toimport Notification from 'vue-bulma-notification'
I get this error:Uncaught SyntaxError: Unexpected token <
The text was updated successfully, but these errors were encountered: