Improved tooltip behavior and styling.

This commit is contained in:
DebaucheryLibrarian
2020-12-27 04:21:10 +01:00
parent 229d74d266
commit a7e6f470f7
7 changed files with 181 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
import { createApp, reactive } from 'vue';
import dayjs from 'dayjs';
import mitt from 'mitt';
import router from './router';
import initStore from './store';
@@ -17,6 +19,7 @@ import Tooltip from '../components/tooltip/tooltip.vue';
async function init() {
const store = initStore(reactive(router));
const app = createApp(Container);
const events = mitt();
initUiObservers(store, router);
@@ -36,6 +39,11 @@ async function init() {
Tooltip,
'v-popover': Tooltip,
},
data() {
return {
events,
};
},
watch: {
pageTitle(title) {
if (title) {