A component library written for Vue3. Demo
Download the package from npm / yarn.
NPM
npm i @strizich/sdui
YARN
yarn add @strizich/sdui
First we will have to mount the component library to the application instance.
// src/main.js
import { createApp } from 'vue'
import { sdInstall } from '@strizich/sdui'
import App from './App.vue'
const app = createApp(App)
// Makes the components globally available.
sdInstall(app)
app.mount('#app')
Now that the components are mounted we need to pull down the styles. At this time scss
is required.
// App.vue
<style lang="scss">
@use '../node_modules/@strizich/sdui/dist/scss/engine';
@import url('../node_modules/@strizich/sdui/dist/style.css');
</style>