histoire-dev / histoire

⚡ Fast and beautiful interactive component playgrounds, powered by Vite
https://histoire.dev
MIT License
3.21k stars 192 forks source link

guide doc error #377

Closed HelloBojack closed 1 year ago

HelloBojack commented 1 year ago

Describe the bug

When I read the guide doc, I found some wrong import, like this import { reactive, count } from 'vue' image

Reproduction

https://stackblitz.com/edit/histoire-vue3-starter-fd9za6?file=src%2FBaseButton.story.vue

System Info

System:
    OS: Linux 5.10 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700K
    Memory: 26.31 GB / 31.23 GB
    Container: Yes
    Shell: 5.8.1 - /bin/zsh
Binaries:
    Node: 14.20.0 - ~/.local/state/fnm_multishells/6078_1669700571773/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - ~/.local/state/fnm_multishells/6078_1669700571773/bin/npm
npmPackages:
    @histoire/plugin-vue: ^0.11.7 => 0.11.7 
    @vitejs/plugin-vue: ^3.2.0 => 3.2.0 
    histoire: ^0.11.7 => 0.11.7 
    vite: ^3.2.3 => 3.2.4

Used Package Manager

pnpm

Validations

stackblitz[bot] commented 1 year ago

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.