@likecoin/ui-vue
v0.7.1
Published
Nuxt.js project
Downloads
142
Readme
@likecoin/ui-vue
A library for common LikeCoin UI components in Vue.js.
Installation
Install the library as a dependency
npm install --save @likecoin/ui-vue
Import the library in your code
import Vue from 'Vue';
import LikeCoinUI, * as components from '@likecoin/ui-vue';
import '@likecoin/ui-vue/dist/ui-vue.css';
Vue.use(LikeCoinUI, {
components,
});
A La Carte
import Vue from 'Vue';
import LikeCoinUI, {
LcAvatar,
} from '@likecoin/ui-vue';
import '@likecoin/ui-vue/dist/ui-vue.css';
Vue.use(LikeCoinUI, {
components: {
LcAvatar,
},
});
Development
This library is scaffolded by Vue CLI 3.
Install dependency
npm install -g @vue/cli
npm install
Compiles and hot-reloads for development in demo page
npm run demo
Compiles and minifies for demo in static HTML
npm run build:demo
Compiles and minifies for library
npm run build:lib
Lints and fixes files
npm run lint