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

Error after load vue3-sfc-loader locally #190

Open
dreambo8563 opened this issue Apr 12, 2024 · 0 comments
Open

Error after load vue3-sfc-loader locally #190

dreambo8563 opened this issue Apr 12, 2024 · 0 comments
Labels
bug Something isn't working unconfirmed Unconfirmed issue

Comments

@dreambo8563
Copy link

Describe the bug

I download the vue3-sfc-loader.js on my local, and run a web server to produce the demo. failed with errors
To Reproduce

  1. download the file with curl:
    curl https://cdn.jsdelivr.net/npm/vue3-sfc-loader/dist/vue3-sfc-loader.js -o vue3-sfc-loader.js
  2. copy the demo code from codepen (https://codepen.io/franckfreiburger/project/editor/AqPyBr)
  3. run a webserver
    python3 -m http.server 8080
  4. load the page with error :
image the error navigate to a block of strange code image

Expected behavior

no error happen and I can make the demo successfully .

Versions

  • Browser (name & version): Chrome Version 123.0.6312.122 (Official Build) (x86_64)
  • vue3-sfc-loader: v0.9.5

Additional context

when load the js with CDN as the document write, everything works, I don't know which step make the error happen and what the difference between the file I downloaded and the file on CDN server.

@dreambo8563 dreambo8563 added bug Something isn't working unconfirmed Unconfirmed issue labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Unconfirmed issue
Projects
None yet
Development

No branches or pull requests

1 participant