When migrating an Aurelia 1 application to Aurelia 2 recently, I had to deal with many routes I needed to convert tediously. As you might have discovered, the Aurelia 2 @aurelia/router is different to the Aurelia 1 router. Not wanting to change 50+ manual PLATFORM.moduleName values, I opted for a regular expression. I hate RegEx […]

The post A Regular Expression to Convert PLATFORM.moduleName in Aurelia to Aurelia 2 Compatible Route Syntax appeared first on I Like Kill Nerds.