Skip to content

mayank99/vite-plugin-webc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published