Scoped classes coexist happily. This guide covers the complete SvelteKit setup for Nakshora 3.1.
Install#
terminal
npm install -D @nakshora/postcss postcssConfigure#
postcss.config.cjs
// postcss.config.cjs consumed by Vite inside SvelteKit
module.exports = {
plugins: { '@nakshora/postcss': { content: ['./src/**/*.{html,svelte}'] } },
};Verify#
terminal
npx nakshora doctorDoctor validates your config, checks that content globs match real files, and prints the engine version.
Troubleshooting#
- Run
nakshora doctorfirst — it catches 90% of setup mistakes.
Next#
Styling patterns: concepts/utility-first-methodology|utility-first methodology · performance: performance/index|performance guide.
