Warning: codebase going through major changes.
Insert stylesheet requires on the server and client.
require('stylesheets').requireStylesheet("myfile.css")
: ensure a stylesheet is in the document. must contain only a literal string, concat operator orprocess.env.STATIC_ROOT
.
var headmarkup = require('stylesheets').getHeadMarkupFor(function() { /* your app code */ });
-- get the HTML needed to include stylesheets into a static HTML file.