Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/likecoin/ui-vue
A library of LikeCoin related UI components
https://github.com/likecoin/ui-vue
likecoin vue
Last synced: 2 days ago
JSON representation
A library of LikeCoin related UI components
- Host: GitHub
- URL: https://github.com/likecoin/ui-vue
- Owner: likecoin
- License: gpl-3.0
- Created: 2018-12-05T10:02:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-08T08:15:33.000Z (over 5 years ago)
- Last Synced: 2024-10-31T19:51:34.339Z (8 days ago)
- Topics: likecoin, vue
- Language: Vue
- Homepage: https://likecoin.github.io/ui-vue
- Size: 1.27 MB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @likecoin/ui-vue
A library for common LikeCoin UI components in Vue.js.
[Examples](https://likecoin.github.io/ui-vue)
## Installation
### Install the library as a dependency
```sh
npm install --save @likecoin/ui-vue
```### Import the library in your code
```javascript
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
```javascript
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
```sh
npm install -g @vue/cli
npm install
```### Compiles and hot-reloads for development in demo page
```sh
npm run demo
```### Compiles and minifies for demo in static HTML
```sh
npm run build:demo
```### Compiles and minifies for library
```sh
npm run build:lib
```### Lints and fixes files
```sh
npm run lint
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).