ritu-browser
v0.0.10
Published
Frontend Framework for Ritu
Downloads
17
Readme
ritu-browser
Ritu Browser
is Component-based Frontend Framework.
Useage
In html
<script src="https://unpkg.com/ritu-browser@/dist/browser.js"></script>
In js
import * as ritu from 'ritu-browser/dist/core';
new ritu.RituComponent({
name: 'hello-world',
template: `
<div>
Hello <span class="name">{name}</span> ({name.length})!
</div>
<style>.name{color:red;}</style>
`,
props: {
name: 'world',
},
});