visgraph: init window.eventHub as external emitter called in Vue. This implementation works with vue2, but is deprecated in vue3 !!

see https://vue3-fr.netlify.app/guide/migration/events-api.html#_2-x-syntax
This commit is contained in:
2021-11-01 10:45:37 +01:00
parent c4ba78d076
commit a0940a0c85
3 changed files with 17 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import { store } from "./store.js"
import { _createI18n } from 'ChillMainAssets/vuejs/_js/i18n'
import { visMessages } from './i18n'
import App from './App.vue'
import './vis-network'
const i18n = _createI18n(visMessages)