1.1.0 • Published 6 months ago

@vituum/vite-plugin-handlebars v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

⚡️💡 ViteHandlebars

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

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

Basic usage

<!-- index.hbs -->
{{> "path/to/template.hbs"}}

or

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

Requirements

1.1.0

6 months ago

1.0.0

11 months ago

1.0.0-beta.2

11 months ago

1.0.0-beta.1

11 months ago

1.0.0-alpha.3

11 months ago

1.0.0-alpha.2

11 months ago

1.0.0-alpha.1

11 months ago

0.1.8

1 year ago

0.1.9

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago