handlebars-hot-reload

![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000) [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/tolgaerdonmez/handlebars-hot-reload#readme) [![Maintenance](https://

Usage no npm install needed!

<script type="module">
  import handlebarsHotReload from 'https://cdn.skypack.dev/handlebars-hot-reload';
</script>

README

Welcome to handlebars-hot-reload 👋

Version Documentation Maintenance License: MIT Twitter: tolgaerdonmez

Description

This CLI aims to render handlebar templates with hot reload functionality for ease of development of handlebar templates.

Installation

npm install --global handlebars-hot-reload

or

yarn global add handlebars-hot-reload

Usage

Usage: handlebars-hot-reload -t <template path> -d <json data path> -o <output path> -s <save output>

Options:
      --help          Show help                                        [boolean]
      --version       Show version number                              [boolean]
  -t, --templatePath  Template path you want to render       [string] [required]
  -j, --dataPath      JSON data to be injected into handlebar template, if this
                      is not given it will search for e.g example.hbs ->
                      example.json                                      [string]
  -p, --port          HTTP Port you want to serve the file              [number]
  -o, --outputPath    Save the created html output to given path        [string]
  -s, --saveOutput    Whether to save the created html output to the same
                      directory as the template, this will override the -o /
                      --outputPath option             [boolean] [default: false]

Author

👤 Tolga Erdönmez

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Tolga Erdönmez.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator