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

[Bug Report]: adapter vite-plugin-vue-inspector #1918

Open
ErKeLost opened this issue Nov 6, 2024 · 0 comments
Open

[Bug Report]: adapter vite-plugin-vue-inspector #1918

ErKeLost opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working v2.0 v2.0 version

Comments

@ErKeLost
Copy link
Member

ErKeLost commented Nov 6, 2024

Steps to reproduce

install vite-plugin-vue-inspector and create vue template
this plugin not work

Reproduce link

No response

What is actually happening?

these question for now v2-dev branch

  1. transformIndexHtml hook handle error in rust
image The order order is to insert a script without problem, but there is no such data in the final generated html image should be has `/@id/virtual:vue-inspector-path:load.js` script
  1. resolveId order error in rust
    manually set order to 1, so that the ability to insert script for the entire plug-in will appear on the final generation html
image But in resolveId hooks we should be able to get the current importer image The code is not currently escaped correctly,so Therefore, the entire load to the current id cannot be obtained in the end image

System Info

mac
@ErKeLost ErKeLost added v2.0 v2.0 version bug Something isn't working labels Nov 6, 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 v2.0 v2.0 version
Projects
None yet
Development

No branches or pull requests

1 participant