Skip to Content
Vuesho

Tailwind CSS Built In

Tailwind CSS Built In

  • A Tailwind CSS class works in any file of a site, like a custom page, a component or a Markdown page, with no setup.
  • src/theme.css can use the directives of Tailwind CSS, like @theme, after its @import "vuesho/style/<preset>.css".
  • A site that set up Tailwind CSS removes tailwindcss() from vite.config.ts, and imports vuesho/style/ui.css in place of vuesho/css/preset.css, shared.css and layouts/*.
  • A plugin package ships no list of its classes: its stylesheet names the files that hold them with @source.