/vuecado-ui

Primary LanguageJavaScriptMIT LicenseMIT

Build Status npm bundle size Snyk Vulnerabilities for npm package npm

vue supported version npm NPM

Install

npm i vuecado-ui
or
yarn add vuecado-ui

Usage

Demo code can be found under the docs section here.

Import globally

import { createApp } from 'vue'
import App from './App.vue'
import VuecadoUi from 'vuecado-ui'

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

Tree Shaking

Import components from the esm folder to enable tree shaking.

<script>
import { defineComponent } from 'vue'
import { VcButton } from 'vuecado-ui/esm'

export default defineComponent({
  components: { VcButton }
})
</script>