A Vue.js project


5.0.34 years ago4 years agoMinified + gzip package size for @mycure/facility-doctors in KB



Mycure Vue Facility-doctors module

Installation and Usage

$ yarn add @mycure/facility-doctors
  • use as a vue plugin
import Vue from 'vue';
import McFacilityDoctors from '@mycure/facility-doctors';

Vue.use(McFacilityDoctors, opts: ServiceOpts)
  • above will do the ff:
    • describe side effects here
    • sample side effects:
      • attach a global method/attribute
      • attach an instance method/attribute
      • add components
      • sync a single and multi vuex store modules
  interface StoreOpts {
    moduleName: string = 'facility-doctors',
    multi: boolean = true    // ataches a multi item vuex store module
    single: boolean = true   // ataches a single item vuex store module

  interface ServiceOpts {
    // will be used to auto-generate query functions
    firebaseApp?: firebase.App
    authService?: AuthService
    // for registering built-in store modules
    store: VuexStore
    storeOpts?: StoreOpts
    // and other valid SingleItemSyncService and MultiItemSyncService configs, see @topsi/services docus



vuexModuleName = 'facility-doctors-single'
interface RegisteredVuexModule extends RegisteredSingleItemStoreModule { // see @topsi/services docus for its RegisteredSingleItemStoreModule


vuexModuleName = 'facility-doctors-multi'
interface RegisteredVuexModule extends RegisteredMultiItemStoreModule { // see @topsi/services docus for its RegisteredMultiItemStoreModule

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.