This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

vite-plugin-latte

0.1.8 • Public • Published

npm package node compatility

⚡️☕ ViteLatte

export default {
  plugins: [
    latte({
      bin: 'php', // php or docker or your own binary path
      filters: {
        icon: 'latte/IconFilter.php',
        nbsp: () => {}
      },
      functions: {},
      tags: {},
      globals: {
          template: 'playground/templates/Layout/Main.latte'
      }
    })
  ]
}
<!-- index.html -->
<script type="application/json">
  {
    "template": "path/to/template.latte",
    "title": "Hello world"
  }
</script>

Requirements

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-latte

Weekly Downloads

4

Version

0.1.8

License

none

Unpacked Size

531 kB

Total Files

201

Last publish

Collaborators

  • evromalarkey
  • lubomirblazekcz