ruoyi-geek-App/src/plugins/index.ts

17 lines
371 B
TypeScript
Raw Normal View History

2023-08-28 14:43:06 +00:00
import Tab from './tab'
import Auth from './auth'
import Modal from './modal'
import { App } from 'vue';
export const tab = Tab;
export const auth = Auth;
export const modal = Modal;
export default {
2023-08-28 14:43:21 +00:00
install(app: App): void {
2023-08-28 14:43:06 +00:00
app.config.globalProperties.$tab = tab
app.config.globalProperties.$auth = auth
app.config.globalProperties.$modal = modal
}
}