@voicenter-team/voicenter-ui
v1.3.158
Published
Voicenter UI library
Downloads
238
Readme
Voicenter UI library for Vue
This is Vue 3.x + Typescript component library made for Voicenter systems
Installation
- run
yarn add @voicenter-team/voicenter-ui
ornpm i @voicenter-team/voicenter-ui
- In main js/ts file add
import '@voicenter-team/voicenter-ui/library/super.ssr.css'
import VoicenterUI from '@voicenter-team/voicenter-ui'
app.use(VoicenterUI, {
component: [], // Here you can pass list of components which you wan't to be globally registered. If empty - will register globally all
themeName: 'red', // Pass the name of the theme
lang: 'en' // Pass the language for app localization
})
2.1. If you are using tailwind update your tailwind.config.js
with:
const voiceTailwindScheme = require('@voicenter-team/voicenter-ui/src/theme/tailwindScheme')
module.exports = {
...yourConfiguration,
theme: {
colors: {
...voiceTailwindScheme
},
borderColor: {
...voiceTailwindScheme
}
}
}
Documentation
Visit documentation for detailed info