vite-plugin-webc

0.2.0 • Public • Published

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!

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-webc

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

4.21 kB

Total Files

4

Last publish

Collaborators

  • mayank-99