Skip to content

检查器

🌐 Inspector

UnoCSS 的检查器界面:@unocss/inspector。 随 unocss@unocss/vite 一起提供。

🌐 The inspector UI for UnoCSS: @unocss/inspector. Ships with unocss and @unocss/vite.

用法

🌐 Usage

在你的 Vite 开发服务器中访问 localhost:5173/__unocss 即可查看检查器。

检查器允许你查看生成的 CSS 规则和每个文件应用的类。它还提供了一个 REPL,让你可以根据当前配置测试你的工具函数。

🌐 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.