vite-plugin-webc
v0.2.0
Published
A vite plugin for [WebC](https://github.com/11ty/webc).
Readme
vite-plugin-webc
A vite plugin for WebC.
- Install webc and the plugin:
npm i -D vite-plugin-webc @11ty/webc- Add the plugin to the vite config:
import { defineConfig } from 'vite';
import VitePluginWebc from 'vite-plugin-webc';
export default defineConfig({
plugins: [VitePluginWebc()],
});- Define your .webc files anywhere in the
src/directory and start using them in your html!
