1
I am having the following scenario... I own a blog that when clicking on a link is redirected to a page in Vue.js. However when it is redirected the page breaks and returns error 404. Any / after the site root in Vue.js is breaking.
Ex: lawyers.com enters normally and also redirected from the blog comes normal. When placing in the lawyer mode.com/contact is returned error 404.
Obs: By entering the url from within the site they are presented normally.
my file Vue.config.js is as follows:
module.exports = {
baseUrl: '/'
}
Has anyone experienced this problem or knows the solution??
If the solution to your problem has been answered below accepted as answer to your question.
– novic