Open s-light opened 2 years ago
Hi @s-light, sorry for the massively late reply. I tried out a stackblitz with the Quasar Framework and vuejs3-logger@1.0.0 but did not get the same error.
This is the output:
debug | local-corp | logSomething called..
<span class="block">
[vuejs3-logger.js:166:23](https://quasarframework-1rjny5--9000.local-corp.webcontainer.io/node_modules/.q-cache/vite/spa/deps/vuejs3-logger.js?v=1f76d41c)
logSomething called..
<span class="block">[HelloWorldPage.vue:15:11](https://quasarframework-1rjny5--9000.local-corp.webcontainer.io/home/projects/quasarframework-1rjny5/src/pages/HelloWorldPage.vue)
Is the error still present and can you provide a minimal project to test it locally?
I just reproduced the problem as s-light mentioned above. I assume that the reason is vite. I use quasar with vite build tool, and I can only get the filename 'vue3-logger.ts'.
sorry for the massively late reply.
no problem ;-) i can try to reproduce it in some day - (currently on a holiday trip)
i did use webpack with plain js (no ts).
i would like to use
vuejs3-logger
with my quasar app.i translated the setup to this boot file:
in my
HelloWorldPage.vue
file i haveafter loading this and clicking once on the button
in the console i get
so basically it is working - but the shown function names are not what i was expecting.. the normal call to
console.log
at least has the file and line-number correct.. so it is more helpfull than the logger output. is there anything i can change in my setup? or is this some vue3 / quasar related limitation?if anybody has any tips or other tools to do some sort of logging in quasar please let me know :-)
PS: i originally posted this to the quasar forum