# router > Generates src/router/index.ts with Vue Router configuration, hash-based routing, and navigation guards for route protection. - Author: Ujjen Baniya - Repository: sayali-ingle-pdl/adusa-ai-vuejs-app-template - Version: 20260115152701 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template - Web: https://mule.run/skillshub/@@sayali-ingle-pdl/adusa-ai-vuejs-app-template~router:20260115152701 --- --- name: router description: Generates src/router/index.ts with Vue Router configuration, hash-based routing, and navigation guards for route protection. --- # Router Skill ## Purpose Generate the `src/router/index.ts` file with Vue Router configuration and navigation guards. ## Output Create the file: `src/router/index.ts` ## Notes - Uses hash-based routing - Implements a navigation guards for example of usage - Create 2 routes for home screen and page not found screen. If the view components skill mentions other files, create route for those files instead. - All pages expect page not found page should have navigation guards.