UNPKG

modulerizr

Version:

Integrate a powerful, component based architecture to your legacy project in just a few steps

37 lines (24 loc) 927 B
<html lang="en"><head> <title>JSRender-Templates</title> </head> <body> <!-- In this example we use jsrender-templates. Be aware that you have to install and add the modulerizr-jsrender-plugin before. --> <div data-v-d5602fa9 id="d5602fa9" data-component="jsrender-template-basic">Attribute param1: param1,<br data-v-d5602fa9> Attribute param2: param2 </div> <div data-v-615bea1f id="615bea1f" data-component="jsrender-template-if"> condition1 is true </div> <div data-v-4cdb0b08 id="4cdb0b08" data-component="jsrender-template-prerenderscript"><div data-v-4cdb0b08> <h1 data-v-4cdb0b08>His name is dieter</h1> His kids are called <ul data-v-4cdb0b08> <li data-v-4cdb0b08>heinz</li> <li data-v-4cdb0b08>gustav</li> </ul> </div> </div> </body></html>