@vituum/vite-plugin-liquid
v1.1.0
Published
<a href="https://npmjs.com/package/@vituum/vite-plugin-liquid"><img src="https://img.shields.io/npm/v/@vituum/vite-plugin-liquid.svg" alt="npm package"></a> <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@vituum/vi
Downloads
4,716
Readme
⚡️💧 ViteLiquid
import liquid from '@vituum/vite-plugin-liquid'
export default {
plugins: [
liquid()
],
build: {
rollupOptions: {
input: ['index.liquid.html']
}
}
}
Basic usage
<!-- index.liquid with index.liquid.json -->
{{ title }}
or
<!-- index.json -->
{
"template": "path/to/template.liquid",
"title": "Hello world"
}