How to use Histoire with Vue Macros? #482
Replies: 1 comment 2 replies
-
|
I understand that you are experiencing an issue with Histoire dev and build when using Vue Macros as a Vite plugin. It seems that the error message you are seeing indicates that there might be invalid JS syntax in the content you are trying to import. Additionally, it suggests that if you are using JSX, you should make sure it is properly configured. It is not immediately clear whether this is a bug with Vue Macros or with Histoire. However, you have opened an issue on the Vue Macros repository, which is a good start. Hopefully, someone from the community or the maintainers of either library will be able to provide you with some guidance or a solution. In the meantime, you could try to debug the issue further by examining the content that is causing the error and checking if there are any obvious syntax errors or misconfigurations with your JSX setup. You could also try to isolate the issue by removing Vue Macros as a plugin and seeing if the error still occurs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've opened an issue on Vue Macros as well, but not sure if it's a bug with that library or this: vue-macros/vue-macros#301
TL;DR, as soon as I add Vue Macros as a Vite plugin, Histoire dev and build breaks with:
Beta Was this translation helpful? Give feedback.
All reactions