4.0.0-alpha.1 • Published 3 years ago

@globalart/vue-vkui v4.0.0-alpha.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

VueJS VKUI

This UI is currently under development, documentation will be later

npm.io

Installation and usage

$ yarn add @globalart/vue-vkui
# or
$ npm install @globalart/vue-vkui

Usage

Import everything

The minified stylesheet is roughly 200kb (~30kb gzipped). If this worries you, please see below how to import only the components you require for a smaller bundle.

// Wherever your Vue entrypoint is.
import VK from '@globalart/vue-vkui'
import '@globalart/vue-vkui/dist/vue-vkui.css'

Vue.use(VK, {
    theme: 'bright_light', // bright_light, space_gray. Default: bright_light
    platform: 'android' // ios, android.
})