-
This is a simple method to scroll page to top on route changes. here we are using useEffect to run scrolling function on every path change. Include this snippet in your App.js.
-
You can use bootstrap modal in vuejs without jquery or any other libraries. To do that you need to get the modal instance associated with a DOM element using the getInstance method. Recently I was revamping a user profile page made with bootstrap and jQuery. I got stuck on this problem that Bootstrap modals didn’t…
-
Cookies are small text files that are added to the visitors web browser by the website they visit. Cookie consent banners are required to inform the users of the usage of the cookies in order for the website to be transparent about the data collection practices. This post will guide you how you can add…