Licence
MIT
Version
0.4.0
Deps
2
Size
7 kB
Vulns
0
Weekly
0
@malobre/vite-plugin-templates
Replace template tags with the content of the file specified in their src attribute, if any.
Usage
- Install
npm install --save-dev @malobre/vite-plugin-templates - Add plugin to your vite config
import { defineConfig } from 'vite' import templates from '@malobre/vite-plugin-templates' export default defineConfig({ plugins: [templates()], })