How to load chunks from root (base url)?



  • Hi,

    I currently switched over to lazy-loading my components following the quasar guide on lazy-loading.

    However, when I refresh my page in the route ‘/dealerships’, and then try to navigate to the path ‘/’, I get these errors:
    Screen Shot 2019-08-14 at 11.05.54 AM.png

    I think the problem is webpack is trying to load the chunk from the wrong url. Does anyone know how to fix this?

    [EDIT] So, I think the problem lies with the browser making a server call first everytime I reload or visit a new route and since I’m doing quasar dev I don’t have a server to handle these endpoints. Is there way I can handle this just using quasar dev?

    Thank you!


Log in to reply