0.0.21 • Published 7 years ago
lily-compiler v0.0.21
Lily.js
This is just my Hobby UI framework, not done by a long shot :P I'm just trying to combine (what I think is) the best parts from Vue and React and make it in to a "true" WebComponents based framework (so mostly a webcomponents wrapper with two-way bindings through proxy :-D)
Right now I'm trying to get my head around WebComponents
& Proxy
Check the /docs directory for a "working" example
Wanna try it out?
Install CLI tool
$ npm i -g lily-cli
Then download a seed project (boilerplate)
$ lily my-app
Example:
import Lily from '//unpkg.com/lily'
import TopBar from './components/topbar.js'
class MainView extends Lily {
name () {
return 'main-view'
}
components () {
return {
'top-bar': TopBar
}
}
template () {
return `
<div class="app">
<top-bar></top-bar>
<button @click="hello">Hello</button>
</div>
`
}
hello () {
console.log('Hello')
}
}
Lily.mount(MainView)
Cheers
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago