JSPM

@unocss/inspector

0.12.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 389353
  • Score
    100M100P100Q190730F
  • License MIT

The inspector UI for UnoCSS

Package Exports

  • @unocss/inspector

Readme

@unocss/inspector

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

Visit http://localhost:3000/__unocss in your Vite dev server to see the inspector.

TODO

  • Basic Overview
  • Basic REPL
  • Basic file view
  • Resizeable sidebar (use splitpanes, refer to playground)
  • Data caches (move the fetches to shared modules instead of in components)
  • Manual refresh button
  • Auto reload on file changes (reuse Vite's hmr if possible)
  • Config view
  • Edit files directly
  • CSS Prettify

🙌 Contribution welcome!

License

MIT License © 2021-PRESENT Anthony Fu