evangelion

0.0.0-alpha • Public • Published

evangelion

View layer done right, using ES6 template string.

Quick Glance

import eva, {html} from 'evangelion'
 
const app = eva({
    data() {
        return {count: 0}
    },
    methods: {
        increment() {
            this.count++
        }
    },
    render() {
        return html`
            <div onclick=${this.increment}>${this.count}</div>
        `
    }
})
 
app.$mount(document.body)

Roadmap

  • Rerender view after update state
  • Component system

Development

  • npm run build - build cjs/umd/umd:minify

Check out package.json for more.

License

MIT © EGOIST

Readme

Keywords

none

Package Sidebar

Install

npm i evangelion

Weekly Downloads

0

Version

0.0.0-alpha

License

MIT

Last publish

Collaborators

  • kchan