@knowscount/vue-lib
v1.8.11
Published
fun vue component library built on @aaroniker's codepens.
Downloads
8
Maintainers
Readme
@knowscount/vue-lib
vue component library containing fun stuff.
📌 to-dos
marked in issues.
🤤 usage
see #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:
// Import and register entire library
import VueLib from '@knowscount/vue-lib';
Vue.use(VueLib);
// Import and register globally individual components from the library
import { FooComponent, FooComponent2 } from '@knowscount/vue-lib';
Vue.component('FooComponent', FooComponent);
Vue.component('FooComponent2', FooComponent2);
// 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.
🛠 project setup
npm install
🔨 compiles and hot-reloads for development
npm run serve
📦 compiles and minifies for production
npm run build