flyleaf
v0.1.4
Published
<img src="https://github.com/cunzaizhuyi/flyleaf/blob/master/public/logo-big.jpg" width="200" height="100" alt="logo"/><br/>
Downloads
1
Maintainers
Readme
What
flyleaf.js is a components library based on sveltejs.
It's a cross frontend framework component library, that is to say no matter what you are using in your project, e.g. Vue2/Vue3/React/Angular, you can use flyleaf's components.
Because a compiled component based on sveltejs is ES class;
Usage
install
npm install flyleaf
use a component
import { ComA } from 'flyleaf';
const com = new ComA({
target: document.getElementById('app'),
props: {
},
})
com.$on('some-event', (evt)={
console.log('evt: ', evt)
})
Contribute
welcome to contribute your components and practice svelte syntax by the way.