html_fragment_example

Version, currently main branch1 version
  • main branchlatestFeb 17, 2024

github.com/jgaskins/html_fragment_example

HTML template fragments example

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  html_fragment_example:
    github: jgaskins/html_fragment_example
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.11.2
License
MIT
Author
Jamie Gaskins
Target
  • html_fragment_example from src/html_fragment_example.cr

Dependencies

Runtime Dependencies

README

Armature HTML Fragment Example

This is an example of HTML template-fragment rendering for use with tools like HTMX.

Usage

Check out the live demo, or to run it locally, clone the repo:

git clone https://github.com/jgaskins/html_fragment_example

Install dependencies:

shards install

Then run the app:

crystal run src/html_fragment_example.cr

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/jgaskins/html_fragment_example/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors