Static GitHub Issues

[3228] Cannot find module './1523814304790.jpg'

prev: Before Unload
next: custom class instance returned by asyncdata

Version

v1.4.0

Reproduction link

https://jsfiddle.net/Nisthar/1etdwofj/

Steps to reproduce

I am using @nuxt/axios and nuxt-dropzone to upload the image from the client. Its working fine. The image gets stored on assets/uploads folder. But when i tried to redirect to the page to show the uploaded image (redirect without refresh), it shows Cannot find module './1523814304790.jpg'

I can refresh the page and see the image. But it does not work automatically.

What is expected ?

to navigate (without refresh) after the form is submitted, to the page where the image is shown.

What is actually happening?

After the form is submitted, it redirects. But getting error Cannot find module './1523814304790.jpg'

Additional comments?

I can refresh the page and see the image. But it does not work automatically.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6907">#c6907</a>)</em></sub></div>