@teacss/inspector
v0.5.2
Published
The inspector UI for TeaCSS — browse generated CSS, modules, and a live REPL.
Readme
@teacss/inspector
Development inspector for TeaCSS Vite projects.
import { defineConfig } from "vite";
import { pluginInspector } from "@teacss/inspector";
import { pluginTeacss } from "@teacss/vite";
export default defineConfig({
plugins: [pluginTeacss(), pluginInspector()],
});Start Vite and open http://localhost:5173/__teacss/ to inspect the active
project, scanned modules, generated CSS, and REPL output.
Inspector APIs return project data and module source only when both the request host and actual socket peer are loopback. Exposing Vite on a network interface does not expose this data remotely.
The inspector observes the Vite plugin's live context and does not generate production CSS or provide editor features.
Pre-1.0.
