Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite-Plugin-Preview broken #447

Open
5 tasks done
bennyty opened this issue Nov 19, 2022 · 1 comment
Open
5 tasks done

Vite-Plugin-Preview broken #447

bennyty opened this issue Nov 19, 2022 · 1 comment

Comments

@bennyty
Copy link

bennyty commented Nov 19, 2022

Describe the bug

ENOENT: no such file or directory, open '/src/HelloWorld.vue__preview.vue'

Seems like vite-plugin-preview is no longer getting updates, maybe consider dropping from vitesse. It's a shame, I thought it was a good idea - like a lightweight Storyblocks.

Reproduction

https://github.com/johnsoncodehk/vite-plugin-vue-component-preview#example

System Info

System:
    OS: macOS 12.6.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 2.35 GB / 32.00 GB
    Shell: 3.5.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.14.0 - ~/Library/Caches/fnm_multishells/8988_1668710181676/bin/node
    npm: 8.3.1 - ~/Library/Caches/fnm_multishells/8988_1668710181676/bin/npm
  Browsers:
    Chrome: 107.0.5304.110
    Firefox Developer Edition: 106.0
    Safari: 16.1

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@kirklin
Copy link
Contributor

kirklin commented Dec 23, 2022

Try changing the file name from HelloWorld.vue__preview.vue to HelloWorld.vue_preview.vue. can solve this problem
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants