ispa-element
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

iSPA Element UI

A Component Library for VueJs (Vue 3) base on Tailwind Css.

Downloads Version lerna

Quick Start

To use it, open up your terminal in the desired directory and run the following command:

npm install ispa-element

Then add the library into your main js project

import {createApp} from 'vue'
import iSPAElement from 'ispa-element'

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

Module Loader

This is the recommended way if your application uses vue-cli or has a webpack based build with vue-loader configured. Import the components as .vue files for seamless integration within your project where path of each component is available at the "import" section of a component documentation.

impot { IButton } from 'ispa-element'

In the next step, register the component with the tag name you'd like to use.

//  In app.js
import {createApp} from 'vue'
const app = createApp(App)

app.component(IButton.name, IButton)
// OR app.component('i-button', IButton)

app.mount('#app')

//  In component.vue
export default {
  components: { IButton }
}

::: tip Note You can use any tag name, but notes these tag name maybe conflict with others tag name, so make sure it's unique tag name to use. :::

Documents

Please visit here to read full documents of iSPA Element.

Special Thanks

Thanks for amazing library PrimeVue and Element UI, our very first version has been inspired from these library.

Milestone

  • [ ] Card Component
  • [ ] Loading Component/Directives
  • [ ] Nav/Tabs Component
  • [ ] Progress bar Component
  • [ ] Dropdown Component
  • [x] Badge Component (2020-12-26)
  • [x] Divider Component (2020-12-20)
  • [x] Switch Component (2020-12-20)
  • [x] Alert Component (2020-12-18)
  • [x] Form/Input Component (2020-12-16)
  • [x] Button Component (2020-12-09)

CHANGELOG

You can follow Change Logs by click here (CHANGELOG.md)

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Malayvuong

Wanna support?

If you like this project and want to contribute us, then you can send us an email via malayvuong@gmail.com for more informations.

⬆ back to top

Package Sidebar

Install

npm i ispa-element

Weekly Downloads

1

Version

0.7.2

License

MIT

Unpacked Size

2.68 MB

Total Files

427

Last publish

Collaborators

  • malayvuong