Skip to content

sergiomasellis/sdui-vite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version

SDUI

A component library written for Vue3. Demo

Getting Started

Installation

Download the package from npm / yarn.

NPM

npm i @strizich/sdui

YARN

yarn add @strizich/sdui

Setup

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>

About

SDUI - Vite Edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 71.1%
  • SCSS 17.3%
  • JavaScript 11.4%
  • HTML 0.2%