Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/KnowsCount/vue-lib
- Owner: KnowsCount
- License: wtfpl
- Created: 2021-04-19T12:57:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T10:36:59.000Z (over 3 years ago)
- Last Synced: 2024-03-20T09:48:25.511Z (10 months ago)
- Topics: codepen, component, component-library, lib, library, vue, vuejs, vuejs2
- Language: Vue
- Homepage: https://csb-rr7eq-knowscount.vercel.app
- Size: 387 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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/).