I have created a MERN app and an html interface for website . I connected the HTML login form to node server successfully and received response on successful login.
after successful response I want redirection to dashboard hosted in react . can any one help me.
我已经创建了一个MERN应用程序和网站的html界面。我成功地将Html登录表单连接到节点服务器,并收到成功登录的响应。成功响应后,我希望重定向到Reaction中托管的仪表板。有谁能帮我吗?
更多回答
优秀答案推荐
you can use location.replace() in order to redirect the website to another page
您可以使用Location.Replace()将网站重定向到另一个页面
更多回答
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
正如它目前所写的,你的答案并不清楚。请编辑以添加更多详细信息,以帮助其他人了解这是如何解决提出的问题的。你可以在帮助中心找到更多关于如何写出好答案的信息。
我是一名优秀的程序员,十分优秀!