Integrations
Set up Master CSS in Vue.js
Guide to setting up Master CSS in your Vue.js project.
Create a project
If you don't have a Vue.js project, create one first.
npm create vue@latest my-appcd my-appAdd Master CSS
Run the installer in static mode from the Vue.js project root. Static mode scans complete class strings and emits generated CSS at build time.
npm create @master/css@rc -- --framework vue --mode static --yesStart dev server
Run the command to start the Vite dev server.
npm run devStart using Master CSS
Now style your first Vue.js component using Master CSS syntax.
localhost:5173
Hello World
<template> <h1 class="m:2xl italic font:5xl font:heavy text:neutral"> Hello World </h1></template>