Scoped classes coexist happily. This guide covers the complete SvelteKit setup for Nakshora 3.1.

Install#

terminal
bash
npm install -D @nakshora/postcss postcss

Configure#

postcss.config.cjs
js
// postcss.config.cjs consumed by Vite inside SvelteKit
module.exports = {
  plugins: { '@nakshora/postcss': { content: ['./src/**/*.{html,svelte}'] } },
};

Verify#

terminal
bash
npx nakshora doctor

Doctor validates your config, checks that content globs match real files, and prints the engine version.

Troubleshooting#

  • Run nakshora doctor first — it catches 90% of setup mistakes.

Next#

Styling patterns: concepts/utility-first-methodology|utility-first methodology · performance: performance/index|performance guide.