Skip to content

⚡️💧 Vite plugin for LiquidJS, transforms liquid templates into HTML

License

Notifications You must be signed in to change notification settings

vituum/vite-plugin-liquid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm package node compatility

⚡️💧 ViteLiquid

import liquid from '@vituum/vite-plugin-liquid'

export default {
    plugins: [
        liquid()
    ],
    build: {
        rollupOptions: {
            input: ['index.liquid.html']
        }
    }
}
  • Read the docs to learn more about the plugin options.
  • Use with Vituum to get multi-page support.

Basic usage

<!-- index.liquid with index.liquid.json -->
{{ title }}

or

<!-- index.json  -->
{
  "template": "path/to/template.liquid",
  "title": "Hello world"
}

Requirements

About

⚡️💧 Vite plugin for LiquidJS, transforms liquid templates into HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published