npm install -D vite @anywidget/vite
// vite.config.js
import { defineConfig } from "vite";
import anywidget from "@anywidget/vite";
export default defineConfig({
plugins: [anywidget()],
});
Read the docs to learn more about configuring Vite with anywidget for your project.
MIT