-
Notifications
You must be signed in to change notification settings - Fork 9
A very small jade-like template engine
License
voltraco/mineral
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ABOUT Mineral is a language that compiles to markup or dom. It's similar to Jade (aka Pug). Its goal is to be much smaller and simpler than pug, and integrate well with modern client side frameworks. DOCS http://voltraco.github.io/mineral/ INSTALL npm i mineral CLI Watch and compile mineral files https://github.com/voltraco/mineral-cli WEBPACK Use https://github.com/voltraco/mineral-loader to read mineral files and parse them into trees. This is easy, just `require('./file.min')`. BROWSERIFY For browserify, use the individual components. const tree = require('mineral/parser')(string) const el = require('mineral/compilers/dom')(tree)
About
A very small jade-like template engine
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published