0.1.0 • Published 1 year ago
@malobre/vite-plugin-templates v0.1.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()], })
0.1.0
1 year ago