NightFuries
Explore posts from serversHow to use NuxtErrorBoundary properly??
I did the following in app.vue and it worked:
But i realised it's not what I wanted. When the error is thrown, it replaces the entire page with the contents of the error-slot. My app requirements are to have a floating overlay with the error message.
12 replies
Import a list of images from public folder
I am using matter.js. You can find that at https://ichack.org in the right box. So we have 7 svg images in the public directory and we are executing the matter.js code in the client, i.e. inside
onMounted
callback. The (very horrible) code to add images looks like this:
The problem here is, we can't use do:
14 replies