webpack, Next.js, Laravel, Rails, Django — anything with PostCSS. This guide covers the complete PostCSS setup for Nakshora 3.0.

Install#

terminal
bash
npm install -D @nakshora/postcss postcss

Configure#

postcss.config.js
js
// postcss.config.js
module.exports = {
  plugins: [
    require('@nakshora/postcss')({
      config: { content: ['./src/**/*.{html,js,ts,jsx,tsx}'] },
    }),
  ],
};

Verify#

terminal
bash
npx nakshora doctor

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

Troubleshooting#

  • @nakshora source does nothing → content globs are relative to the CSS file; check paths

Next#

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