html_gen

Installation | Usage | Components and data

---

html_gen is a tool to generate static pages, using components and data written in json files

Installation

You will need cargo installed ```zsh

git clone https://github.com/dcxo/htmlgen cd htmlgen cargo install --path . you can simply do: zsh cargo install html_gen ```

Usage

  1. Create a html_gen project ```zsh

    htmlgen create [name] # If you don't write a name, htmlgen will ask you ```

  2. Then write some content in the index.html file, add some componets and some data (more on this later), and finally build the project with: ```zsh

    html_gen build ```

  3. Your static page will be avaliable on the dist folder

Components and data

TODO: add documentation (It will be added when there is a new way to write the components).