You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I want to use Agnostic UI with Histoire so I can build my own component library with stories.
At the moment it's not possible
Error while collecting story **:
SyntaxError: Unexpected token '}'
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
at async link (node:internal/modules/esm/module_job:67:21)
Describe the bug
I want to use Agnostic UI with Histoire so I can build my own component library with stories.
At the moment it's not possible
To Reproduce
https://stackblitz.com/edit/histoire-vue3-starter-ybomb1?file=package.json,src%2FBaseButton.vue
agnostic-vue
Button
fromagnostic-vue
package insideBaseButton.vue
button
withButton
Alternatively, I managed to reproduce it coming from Agnostic Ui's official starter template:
https://stackblitz.com/edit/github-sxfr9i?file=histoire.setup.mjs,src%2Fcomponents%2Fvue%2FButton.stories.vue,vite.config.js,package.json
Expected behavior
It loads Agnostic UI Button component in Histoire
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: