A lightweight, fast web-components based frontend framework for the future.
Leafjs is a lightweight frontend framework built using web components.
Using web components allows you to create components natively - supported by most modern browsers. Unlike React and Vue, Leafjs's component system is totally built on top of the web component system.
For sure, Leafjs implements a simple reactivity system that allows two-way binding, just like most frameworks do.
Use create-leafjs-app
to get started:
$ npx create-leafjs-app my-app
$ # or
$ yarn create leafjs-app my-app
Then cd
into your project directory and run npm run dev
to start a development server.
Please refer to https://leafjs.samzhangjy.com/.
Leafjs is licensed under the MIT License. See LICENSE
for details.