@contentina/vite
v0.0.6
Published
Vite adapter for Contentina.
Downloads
1,244
Readme
⚡ @contentina/vite
Vite plugin for Contentina.
Rebuilds on dev server start and when watched content or config changes. Resolves contentina/generated through a virtual module that re-exports your current generated output.
Install
bun add @contentina/vite @contentina/corePeer dependency: Vite 6+
Quick start
import contentina from "@contentina/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [contentina()],
});Options
contentina({
logLevel: "info", // "info" | "debug" for build summaries
configPath: "./contentina.config.ts",
});Framework-specific packages (@contentina/sveltekit, @contentina/nuxt, …) build on top of this plugin.
Part of Contentina · npm
