NextJs Admin page with static export
Unanswered
American Wirehair posted this in #help-forum
American WirehairOP
I am using next export to create a next application that doesn't require a node server and that application is a dashboard. I'm using next 13.4.7 with app router. This way I can use the application just like I would with Create React App back in the day. https://nextjs.org/docs/app/building-your-application/deploying/static-exports
I want to do some authentication calling the server and if a user tries to access a route that is protected example: /dashboard it should be redirected to the / page.
Anyone did something like this before using next ?
I want to do some authentication calling the server and if a user tries to access a route that is protected example: /dashboard it should be redirected to the / page.
Anyone did something like this before using next ?