# Javascript Routing Issue in Aurelia

**URL:** <https://discourse.aurelia.io/t/javascript-routing-issue-in-aurelia/3546>\
**Category:** Uncategorized\
**Created:** [June 3, 2020, 1:05pm UTC](https://discourse.aurelia.io/t/javascript-routing-issue-in-aurelia/3546 "2020-06-03T13:05:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![prempalani](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@prempalani](https://discourse.aurelia.io/u/prempalani)\
**Post date:** [June 4, 2020, 2:12am UTC](https://discourse.aurelia.io/t/javascript-routing-issue-in-aurelia/3546/3 "2020-06-04T02:12:58Z")

</div>

Webpack only. I mean this.router object has routes array. WHen we use typescript, routes array has values whichever we are configuring.

But in javascript, we are getting empty routes array.

Because of that we are not able to navigate.

Hope this helps

---

_[View the full topic](https://discourse.aurelia.io/t/javascript-routing-issue-in-aurelia/3546)._
