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
When running story:dev with the latest releases of Histoire and Nuxt, an Iframe containing the rendered app.vue file gets displayed below the actual story (See image below). If you scroll down the page on the repro, you will notice that the same page is also displayed below the viewport.
A few errors are also thrown at startup, but don't seem to prevent the app from running.
Sourcemap for "/__resolved__virtual:$histoire-theme.css" points to missing source files
stories/test.story.vue 4302ms (setup:31ms, execute:3183ms, run:1088ms)
[nuxt] error caught during app initialization ReferenceError: document is not defined
at normalizeContainer (file:///home/projects/nuxt-starter-7hjhxl/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1616:21)
at app.mount (file:///home/projects/nuxt-starter-7hjhxl/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1537:27)
at initApp (file:///home/projects/nuxt-starter-7hjhxl/node_modules/nuxt/dist/app/entry.mjs:55:14)
Collect stories end 17800ms
Collect stories start all
stories/test.story.vue 96ms (setup:57ms, execute:1ms, run:38ms)
Collect stories end 108ms
Thanks for this awesome project, can't wait to use it with Nuxt!
I also reproduced it locally by cloning this repo and making the appropriate updates (instead of displaying the demo page it also displays what's inside the app.vue template, being hi there in the local nuxt example).
Note: if adding pages templates you would get 404s instead because of nuxt's vue-router errors not recognising histoire routes.
Describe the bug
Versions:
histoire, @histoire/plugin-nuxt, @histoire/plugin-vue : 0.15.8
nuxt: 3.2.3
Hi!
When running
story:dev
with the latest releases of Histoire and Nuxt, an Iframe containing the renderedapp.vue
file gets displayed below the actual story (See image below). If you scroll down the page on the repro, you will notice that the same page is also displayed below the viewport.A few errors are also thrown at startup, but don't seem to prevent the app from running.
Thanks for this awesome project, can't wait to use it with Nuxt!
Reproduction
https://stackblitz.com/edit/nuxt-starter-7hjhxl
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: