import store from '@/vuex/store' ; import api from '@/service/api' ; import config from '@/service/config' ; import cmappClass from '@/plugins/cmapp.class' ; import uniAjax from '@/plugins/uniAjax' ; const plugins = { } ; plugins . install = function ( Vue ) { Vue . prototype . $store = store ; Vue . prototype . $api = api ; Vue . prototype . $config = config ; Vue . prototype . $cmapp = new cmappClass ( ) ; Vue . prototype . $uniAjax = uniAjax ; } ; export default plugins ;