Skip to content

✨ A lightweight, fast web-components based frontend framework for the future.

License

Notifications You must be signed in to change notification settings

samzhangjy/leafjs

Repository files navigation

Leafjs

total downloads minzipped size latest version GitHub stars license

Leafjs - A lightweight web-components based frontend framework | Product Hunt

A lightweight, fast web-components based frontend framework for the future.

Introduction

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.

Getting started

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.

Documentation

Please refer to https://leafjs.samzhangjy.com/.

Licensing

Leafjs is licensed under the MIT License. See LICENSE for details.