this might be an easy one but I could figure it out...
I would like the html from "mimosa watch -s" to be "pretty". I tried "jade": {"pretty":true} and "jade-static": {"pretty": true} but non of it worked.
Any ideas where I can set this option?
Cheers
Michael
You received this message because you are subscribed to a topic in the Google Groups "mimosajs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mimosajs/BHeTf728lbQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mimosajs+u...@googlegroups.com.
clientJadeStatic: {
prettyOutput: true }
--
--
<!DOCTYPE html><html><head><title>Mimosa</title><link rel="stylesheet" href="/stylesheets/style.css?b=1413210282244"><script src="/socket.io/socket.io.js"></script><script src="/javascripts/reload-client.js"></script><script src="/javascripts/vendor/requirejs/require.js" data-main="/javascripts/main.js"></script></head><body><h3>Das ist ein Beispiel 2</h3></body></html> |
server templates.. index.jade in the view folder.. and the html that is created is:
<!DOCTYPE html><html><head><title>Mimosa</title><link rel="stylesheet" href="/stylesheets/style.css?b=1413210282244"><script src="/socket.io/socket.io.js"></script><script src="/javascripts/reload-client.js"></script><script src="/javascripts/vendor/requirejs/require.js" data-main="/javascripts/main.js"></script></head><body><h3>Das ist ein Beispiel 2</h3></body></html>
--