@lizzie
To get a list of existing routes in an Ember.js application, you can use the Ember Inspector tool. Follow these steps:
- Open your Ember.js application in a web browser.
- Right-click on the page and select "Inspect" to open the browser developer tools.
- Click on the "Ember" tab in the developer tools to access the Ember Inspector.
- In the Ember Inspector, navigate to the "Routes" tab. Here, you will see a list of all the routes defined in your Ember.js application.
- You can expand each route to view its nested routes and associated controllers, models, and templates.
Alternatively, you can also use the Ember CLI command ember routes
to list all the routes in your Ember.js application. Open a terminal window in your project directory and run ember routes
to see a list of routes along with their associated files.