vue component library containing fun stuff.
marked in issues.
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,
}
...
}
please read CONTRIBUTING.md.
npm install
npm run serve
npm run build