Swatinem/jade-virtualdom
compile jade templates to virtualdom
{ "createdAt": "2014-03-24T14:08:41Z", "defaultBranch": "master", "description": "compile jade templates to virtualdom", "fullName": "Swatinem/jade-virtualdom", "homepage": null, "language": "JavaScript", "name": "jade-virtualdom", "pushedAt": "2015-09-25T22:25:29Z", "stargazersCount": 22, "topics": [], "updatedAt": "2024-11-06T15:50:01Z", "url": "https://github.com/Swatinem/jade-virtualdom"}jade-virtualdom
Section titled “jade-virtualdom”compile jade templates to virtualdom
Heavily inspired by jade-react
Installation
Section titled “Installation”$ npm install jade-virtualdomvar fn = jadeVirtualdom('#jade.is.cool(key=somekey)=somecontent', {some: options});var vnode = fn({key: '1', somecontent: 'locals \\o/'});// and then render or diff the virtual dom:var node = virtualDom.toDOM(vnode);document.body.appendChild(node);License
Section titled “License”LGPLv3
Released as free software as part of ChatGrape


