I write a vue single-page application a>b>c. After successful login, the d page is displayed. I want to make the browser back button invalid on the d page. Please tell me how to implement it. I checked some global hooks using routing. I am currently using router hash. model
You can use router.replace(location) which will not add new records to history and replace the current history records.
Case link
Use hooks inside components.