- Add router-printer.ts to you app
- Update your router.js to import it:
-import EmberRouter from '@ember/routing/router';
+import Router from './router-printer'
-export default class Router extends EmberRouter {
- location = config.locationType;
- rootURL = config.rootURL;
-}
- Run the script
cd app
ts-node ./router.js