Inspector
The inspector UI for UnoCSS: @unocss/inspector
. Ships with unocss
and @unocss/vite
.
Usage
Visit localhost:5173/__unocss in your Vite dev server to see the inspector.
The inspector allows you to inspect the generated CSS rules and the applied classes for each file. It also provided a REPL to test your utilities based on your current configuration.
![](https://user-images.githubusercontent.com/11247099/140885990-1827f5ce-f12a-4ed4-9d63-e5145a65fb4a.png)
![](https://user-images.githubusercontent.com/11247099/140886020-7014f412-f020-4aed-a169-d025cc1bbcd3.png)