useConfigGlobal.ts 232 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 import { ConfigGlobalTypes } from '@/types/configGlobal' import { inject } from 'vue' export const useConfigGlobal = () => { const configGlobal = inject('configGlobal', {}) as ConfigGlobalTypes return { configGlobal } }