Refresh page in app with Bedrock/Sage and Vue.js


I have setup locally an app using bedrock and sage with vue.js inside the theme, as is given from .

The problem I am facing is this: after installing vue-router, after navigating to a link from the app, when I hit refresh on the browser I get “page not found” error and so I have to navigate again to the beginning of the app.

Is this behavior something I can work from the sage theme or from bedrock or could it be something related to apache( I find the last option much more improbable).

`In the .env file of bedrock I have:

and in config.json of sage:

  "publicPath": " /app/themes/SageJS",
  "devUrl": "http://localhost:8900",
  "proxyUrl": "http://localhost:8900",
  "cacheBusting": "[name]_[hash:8]",

Let me know if I can provide any more info. Thank you.

This topic was automatically closed after 42 days. New replies are no longer allowed.