| Link | Description | Playground |
|---|---|---|
| CSR | Client-side rendering | |
| CSR + Base Components | Lightning Base Components | |
| SSR | Server-side rendering |
npm install vite-plugin-lwcAdd the plugin to your vite.config.ts:
import { defineConfig } from 'vite';
import lwc from 'vite-plugin-lwc';
export default defineConfig({
plugins: [lwc()],
});| Package | Version (click for changelogs) |
|---|---|
| vite-plugin-lwc |
MIT.