Vue SPA SSR preview url

Hey @Rbbrtoo,

Are you using UrlRewriter with the recommended configuration from our documentation?

The setup you are trying to configure is deprecated and will not work in the next major release. I would recommend using the latest approach without UrlRewriter. You can enable that as it is described here.
Then, the configuration should be like:

{
  cmsBaseUrl: process.env.VUE_APP_CMS_BASE_URL
}

where VUE_APP_CMS_BASE_URL is http://localhost:8080/site.

Best,
Michael

1 Like