Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/KnowsCount/vue-lib

💝 fun vue component library for my own use.
https://github.com/KnowsCount/vue-lib

codepen component component-library lib library vue vuejs vuejs2

Last synced: about 1 month ago
JSON representation

💝 fun vue component library for my own use.

Awesome Lists containing this project

README

        

# @knowscount/vue-lib

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2e38e2e648a24e7c8ec77f37e9342365)](https://app.codacy.com/gh/KnowsCount/vue-lib?utm_source=github.com&utm_medium=referral&utm_content=KnowsCount/vue-lib&utm_campaign=Badge_Grade_Settings)

> vue component library containing fun stuff.

## 📌 to-dos

marked in [issues](https://github.com/KnowsCount/vue-lib/issues).

## 🤤 usage

see [#3](https://github.com/KnowsCount/vue-lib/issues/3).

to install the library, run

```
npm install --save @knowscount/vue-lib
```

you can choose to import the entire library, or use a slightly different syntax to import individual components:

```vue.js
// Import and register entire library
import VueLib from '@knowscount/vue-lib';
Vue.use(VueLib);
```

```vue.js
// Import and register globally individual components from the library
import { FooComponent, FooComponent2 } from '@knowscount/vue-lib';
Vue.component('FooComponent', FooComponent);
Vue.component('FooComponent2', FooComponent2);
```

```vue.js
// Import and register locally individual components from the library
import { FooComponent, FooComponent2 } from '@knowscount/vue-lib';

export default {
name: 'SomeParentComponent',
components: {
FooComponent,
FooComponent2,
}
...
}
```

## 🙋‍♂️ contributing

please read [CONTRIBUTING.md](./CONTRIBUTING.md).

### 🛠 project setup

```
npm install
```

### 🔨 compiles and hot-reloads for development

```
npm run serve
```

### 📦 compiles and minifies for production

```
npm run build
```

### 🔧 customize configuration

see [configuration reference](https://cli.vuejs.org/config/).