Vite plugin for Semi Design theme customization, supporting dynamic theme switching, SCSS compilation, and custom CSS variables. Current stable version is 1.0.0, with no regular release cadence yet. Key differentiators: optimized for Vite build, supports all major package managers (npm, yarn, pnpm) via file-system-level resolution, full TypeScript support. Peer dependencies: vite >=4.0.0 and sass ^1.0.0. Node engine requirement >=16.0.0.
npm install semi-theme-vite-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure Vite to use semi-theme-vite-plugin with a Semi Design theme and custom CSS variable.
Upgrade Vite to v4+ or use compatible plugin version.
Install sass: npm install sass --save-dev
Ensure the theme package is installed and listed in package.json.
Run npm install semi-theme-vite-plugin --save-dev
Use default import: import SemiPlugin from 'semi-theme-vite-plugin'
Run npm install sass --save-dev