0.5.0 • Published 2 years ago

mekar-button v0.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Mekar Button

Installation

Install the component via NPM

yarn add mekar-button

How to Use

Import as Global Component

With this kind of import, you will include the whole bundle of the library, but you can use all components directly in Vue Instance.

import { createApp } from 'vue'
import App from './App.vue'

// components
import Button from 'mekar-button'

const app = createApp(App)
app.use(Button)
app.mount('#app')

Default Import

With this kind of import, you will only include component that've been imported.

// components
import Button from 'mekar-button'

Contribution

Everyone is welcome to contribute to Mekar Library