histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Single stories doesn't work

Open rubencanovaca opened this issue 1 year ago • 3 comments

Describe the bug

https://histoire.dev/examples/vue3/single-stories.html#within-an-iframe

Single stories doesn't work (without layout property or with { type: 'single' }) and just show the side menu recursively. A warning appears in the console:

[Vue Router warn]: No match found for location with path "/__sandbox"

Locally it works (serve), but not into the dist folder (build), so it's impossible to upload it to production.

Reproduction

image

System Info

System:
    OS: macOS 13.4
    CPU: (8) arm64 Apple M1 Pro
    Memory: 46.92 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.13.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.2.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 113.0.5672.126
    Safari: 16.5
  npmPackages:
    @histoire/plugin-vue: ^0.16.1 => 0.16.1 
    @vitejs/plugin-vue: ^4.0.0 => 4.1.0 
    histoire: ^0.16.1 => 0.16.1 
    vite: ^4.0.0 => 4.2.1

Used Package Manager

yarn

Validations

rubencanovaca avatar May 31 '23 08:05 rubencanovaca