P
P
Popou2022-02-28 02:22:35
ASP.NET
Popou, 2022-02-28 02:22:35

Vue.js router How to setup router on asp.net 6?

A regular spa application, a router on the frontend is set up, but clicking directly on the link returns 404 (I don’t need to explain why this is so, I understood it myself), that at first it was just a redirect, but then every time it returns to the home page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2022-02-28
@Popou

compare with your file.
https://github.com/SoftwareAteliers/asp-net-core-v...
plus one more consideration, nginx will be the snout on the web prod, have you tried this mode?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question