⚠️
The vite-plugin-ssr project has been renamed Vike.
  • If you are already using vite-plugin-ssr, then migrate to Vike.
  • For new projects, don't use vite-plugin-ssr but use Vike instead.
It follows the same philosophy: Vike itself (without extensions) is unopinionated and lets you integrate tools with architectural freedom.

Sass / Less / Stylus

All we have to do is to install the CSS pre-pocessor we want and Vite will then use it, see Vite Docs - CSS pre-processors.

Example: