Integrations
Set up Master CSS in Nuxt.js
Guide to setting up Master CSS in your Nuxt.js project.
Create a project
If you don't have a Nuxt project, create one first.
npx nuxi@latest init my-appcd my-appAdd Master CSS
Run the installer from the Nuxt project root. Static is the default: it scans complete class strings and emits ordinary CSS.
npm create @master/css@rc -- --framework nuxt --yesLaunch server
Run the development server.
npm run devStart using Master CSS
Now style your first component using Master CSS syntax.
localhost:3000
Hello World
<template> <h1 class="m-2xl italic font-5xl font-heavy text-neutral"> Hello World </h1></template>