Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
365 B

import _Vue, { PluginFunction } from 'vue';
import ApiService from '@/services/ApiService';
const ApiPlugin = {
install: (Vue: typeof _Vue, options?: any) => {
let apiService = new ApiService();
Vue.mixin({
created() {
Vue.prototype.$api = apiService;
}
})
}
}
export default ApiPlugin;