You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for this fork, I have been using it's vue 2 versoin for years and when I saw this I was very happy to switch over to this package when switching to vue 3.
Now I am trying to get a hold of my logger instance in Vue Router and Pinia.
For Pinia, I am doing this:
constapp=createApp(App);constpinia=createPinia();pinia.use(({ store })=>{store.$log=markRaw(app.config.globalProperties.$log);});app.use(pinia);app.use(router);app.use(logger);app.mount('#app');
And it works nice, but for Vue Router, I couldn't figure out. What would you suggest I do?
The text was updated successfully, but these errors were encountered:
Hello 👋
Thank you very much for this fork, I have been using it's vue 2 versoin for years and when I saw this I was very happy to switch over to this package when switching to vue 3.
Now I am trying to get a hold of my logger instance in Vue Router and Pinia.
For Pinia, I am doing this:
And it works nice, but for Vue Router, I couldn't figure out. What would you suggest I do?
The text was updated successfully, but these errors were encountered: