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

inspector conflicts with vite-plugin-html and cannot access /__unocss #3669

Open
4 tasks done
1514100951 opened this issue Mar 30, 2024 · 2 comments
Open
4 tasks done

Comments

@1514100951
Copy link

UnoCSS version

0.58.3

Describe the bug

inspector conflicts with vite-plugin-html and cannot access /__unocss

Reproduction

https://stackblitz.com/edit/unocss-unocss-eorvyy?file=vite.config.ts

System Info

No response

Validations

@Simon-He95
Copy link
Contributor

Can you provide more specific information, such as how to reproduce this problem and your expected results?

@1514100951
Copy link
Author

I wanted to implement @unocss/inspector, but the vite plugin used in the project, vite-plugin-html, blocked access to localhost:5173/__unocss
You can take a look at this stackblitz : https://stackblitz.com/edit/unocss-unocss-eorvyy?file=vite.config.ts
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