Routing is necessary for users to navigate through the whole web site. To make SPA project routing in frontend is must. Configure aurelia router in a aurelia project is pretty easy. First Create a fresh project using aurelia-cli. Check out this post how to do that.

To configure router we need to add configureRouter method in app.js file. See this code below.

export class App { configureRouter(config, router) { this.router = router; config.title = "Aurelia Router";[ { route: ["", "home"], name: "home", moduleId: PLATFORM.moduleName("home") }, { route: "user/:id", name: "user", moduleId: PLATFORM.moduleName("user") }, { route: "about", name: "about", moduleId…

In VivaSoft Limited We have some Clients who want to develop their project using aurelia in the frontend. So recently I have learned Aurelia to work with a Client. It is similar with Angular and VueJS. Here I will try to show you how to start a project with aurelia and its basic structure.

Aurelia is a Javascript Frontend Framework. It is very simple to understand and learn. As It is a frontend framework its purpose is to render UI in the browser. We can easily make SPA Web Applications using Aurelia.

Before learning it you must know JS as…

MD Nayeem Iqubal

I am a Web Application developer. I am trying to learn new things everyday

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store