← All examplesBuild tools / config

Vite integration

Use the Zidom Vite plugin as the website does.

01 / Usage previewSource-backed
Build-time feature. This site loads @zidomjs/vite from vite.config.ts. No compiler or server JSX runtime is sent to the browser.
Build-time code shown beside its usage notes.
Zidom JS / Example sourceREAD ONLY
src›demos›vite.tsx
vite.tsx
●  Zidom
// vite.config.ts (build-time integration, not a browser component)import { defineConfig } from 'vite';import zidom from '@zidomjs/vite';export default defineConfig({  plugins: [zidom({ reactiveReads: 'tracked' })]});
● zidom / viteTSX · UTF-8 · Copyable source

This website demo runs pinned Zidom beta.1 packages; the latest framework release is beta.2. See release details and limitations. Report a problem with this example.