postcss + nakshora in the plugin chain. This guide covers the complete Rollup setup for Nakshora 3.0.
Install#
terminal
npm install -D @nakshora/vite-pluginConfigure#
rollup.config.js
import postcss from 'rollup-plugin-postcss';
import nakshora from '@nakshora/postcss';
export default {
plugins: [postcss({ plugins: [nakshora()] })],
};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.
