Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

html2hiccup

Circle CI Dependencies Status GitHub license

Convert HTML to Hiccup syntax on-the-fly.

This app is entirely client-side rednering, powered by ClojureScript and hickory.

Online DEMO.

Development

  1. Install needed css/js by bower

    $ bower install
  2. Start the dev task. In a terminal run:

    $ boot dev

    This will give you a development setup with:

    • auto compilation on file changes
    • audible warning for compilation success or failures
    • auto reload the html page on changes
    • Clojurescript REPL
  3. Go to http://localhost:3000 in your browser.

  4. If you edit and save a file, the task will recompile the code and reload the browser to show the updated version.

  5. If you want to connect to ClojureScript REPL, enter following in Clojure REPL:

    (start-repl)

Production

  1. Run the prod task. In a terminal run:

    $ boot prod
  2. The compiled files will be on the target/ directory. This will use advanced compilation and prerender the html.

License

Copyright © 2016 Yen-Chin, Lee <coldnew.tw@gmail.com>

Distributed under the MIT License.

About

HTML to Hiccup converter implement in ClojureScript (client-side rendering).

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.