Skip to content

chenglou/stylesheets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylesheets

Mission

Insert stylesheet requires on the server and client.

API for component authors

  • require('stylesheets').requireStylesheet("myfile.css"): ensure a stylesheet is in the document. must contain only a literal string, concat operator or process.env.STATIC_ROOT.

API for users

  • var headmarkup = require('stylesheets').getHeadMarkupFor(function() { /* your app code */ }); -- get the HTML needed to include stylesheets into a static HTML file.

About

Client/server stylesheet management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%