dust.js - Dust JS Templating visualization and generation -


i know tools support dustjs templating following.

  1. wyswyg visualisation. there tool using can preview html template while edit in dustjs template file.
  2. automatic creation of templates wireframes. there tool create .dust files .html.
  3. is dust integrated cms tool? handlebar in adobe experience manager.

if know of tools dust js please let me know. using sublime / atom/ eclipse ides.

to preview dust file automatically change it, you'll first want set automatic dust compilation. can using built-in dustc tool, or via grunt plugin grunt-dustjs.

if you're using dustc, you'd this:

dustc --output=lib/compiled.js --watch templates/**/*.dust 

now, time .dust file inside templates directory changes, templates recompiled , placed lib/compiled.js. can load file on page , render dust how do.

then can use browsersync reload app in different browsers wysiwyg preview, or wire using grunt task grunt-contrib-watch.

any html file valid dust file. .dust file extension isn't special! can pass files ending in .html dust compiler; doesn't care. if create templates sliced psds or other wireframe tools, can compiled dust templates. have add appropriate variables.

there no wysiwyg editors available integrate dust (but stack overflow not place obtain tool recommendations anyways).


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -