Jox
Explore posts from serversAny way to fix sourcemaps being completely wrong?
For some reason sourcemaps in our Nuxt 3 application has suddenly stopped working correctly.
Breakpoints set in VS Code are no longer applied where you think they are, they are applied and triggered to other lines of code than the ones you chose.
Does anyone have any clue what could cause this? I'm clueless.
5 replies
Template ref "refName" used on a non-ref value. It will not work in the production build.
I'm seeing messages like this in the console.
Template ref "shippingForm" used on a non-ref value. It will not work in the production build.
What does it mean?
As far as I can tell I'm following the docs instructions for adding template refs so I'm not sure what will not work in production?
Example,
<Shipping ref="shippingForm" />
What am I missing?
Might add that I'm using this together with defineExpose
from the Shipping
component10 replies