Integrations

Set up Master CSS in Vite

Guide to setting up Master CSS in your Vite project.

Create a Vite project

If you don't have a Vite project, create one first.

npm create vite@latest my-appcd my-app

Add Master CSS

Run the installer in static mode from the Vite project root. Static mode scans complete class strings and emits generated CSS at build time.

npm create @master/css@rc -- --framework vite --mode static --yes

Start dev server

Run the command to start the Vite dev server.

npm run dev

Start using Master CSS

Now style your first element using Master CSS syntax.

localhost:5173

Hello World

<h1 class="m:2xl italic font:5xl font:heavy text:neutral">    Hello World</h1>

© 2026 Aoyue Design LLC.MIT License
Trademark Policy