flyleaf

0.1.4 • Public • Published

logo

中文

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.

Package Sidebar

Install

npm i flyleaf

Weekly Downloads

7

Version

0.1.4

License

MIT

Unpacked Size

2.79 MB

Total Files

119

Last publish

Collaborators

  • cunzaizhuyi