Plain HTML pages consuming generated CSS.
Setup#
index.html
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="src/generated/nakshora.css" />
</head>
<body class="p-8">
<h1 class="font-bold text-3xl">Generated with Nakshora 2.0</h1>
</body>
</html>Workflow#
- Edit your theme/config
- Re-run generation (
npm run css) - Refresh the browser
Note. v2 has no watch mode — the v3 CLI added
nakshora dev with incremental rebuilds.