-
Notifications
You must be signed in to change notification settings - Fork 274
[Vue warn]: Failed to resolve async component: #66
Comments
You make exports a constant and then try to modify it? |
Where do I try to modify it? Last code snippet is the error message VueJS throws at me, not my code. Anyways, I have a completely different solution now which works much better for me, i.e. I am transforming the |
HiI'm facing this issue while implementing in my jsp. I didn't used any import or export in my vue file.vue.js:634 [Vue warn]: Failed to resolve async component: function() {
Reason: SyntaxError: Unexpected token export** This is my vue component code attached below**
|
mind sharing your solution? |
For what it's worth, I face this error as well, and can help in debugging or reproducing if someone takes the lead. Was scouting whether I could use httpVueLoader for streamlining the development experience (inspired by Snowpack). Edit: I'm trying to load
Not willing to give this up, since the project is very ESM based, as such. Is there any hope Note: No burden. It's just that since the README doesn't explicitly mention about problems with ESM users, this may come as a late suprise. Maybe a mention there would be in place, if it's a project policy. |
my solution #94 |
Possible solution: remove the Lang attribute from the tags: template and style. I had a hard time finding this simple error. That's for using snippets |
Similar to #56, but I do NOT use ES6
export
in my .vue File.It looks like this (actually this is the "official" Hello World component):
And I try to use it like this:
While the component does seem to be registered, when running my code I get this:
Any ideas?
The text was updated successfully, but these errors were encountered: