Link | Description | Playground |
---|---|---|
CSR | Client-side rendering | |
SSR | Server-side rendering |
npm install vite-plugin-lwc
Add 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.