mirror of https://github.com/stilleshan/subweb.git
15 lines
472 B
JavaScript
15 lines
472 B
JavaScript
import { createApp } from 'vue';
|
|
import App from './App.vue';
|
|
import router from './router';
|
|
import store from './store';
|
|
import DialogView from '@/components/dialog/DialogView.vue';
|
|
import { showDialog, closeDialog } from 'components/dialog';
|
|
|
|
const app = createApp(App);
|
|
app.component('DialogView', DialogView);
|
|
app.use(router).use(store);
|
|
|
|
app.config.globalProperties.$showDialog = showDialog;
|
|
app.config.globalProperties.$closeDialog = closeDialog;
|
|
app.mount('#app');
|