webpack, Next.js, Laravel, Rails, Django — anything with PostCSS. This guide covers the complete PostCSS setup for Nakshora 3.0.
Install#
terminal
npm install -D @nakshora/postcss postcssConfigure#
postcss.config.js
// postcss.config.js
module.exports = {
plugins: [
require('@nakshora/postcss')({
config: { content: ['./src/**/*.{html,js,ts,jsx,tsx}'] },
}),
],
};Verify#
terminal
npx nakshora doctorDoctor validates your config, checks that content globs match real files, and prints the engine version.
Troubleshooting#
@nakshora sourcedoes 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.
