0.2.0 • Published 2 years ago

vite-plugin-webc v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

vite-plugin-webc

A vite plugin for WebC.

  1. Install webc and the plugin:
npm i -D vite-plugin-webc @11ty/webc
  1. Add the plugin to the vite config:
import { defineConfig } from 'vite';
import VitePluginWebc from 'vite-plugin-webc';

export default defineConfig({
	plugins: [VitePluginWebc()],
});
  1. Define your .webc files anywhere in the src/ directory and start using them in your html!