This provides a detailed explanation on how to work with the Page Router. First you need to get the app up and running:
Feel free to ask them at: https://forum.lightningjs.io/
https://rdkcentral.github.io/Lightning-SDK/#/plugins/router/index
Before you follow the steps below, make sure you have the Lightning-CLI installed globally only your system
npm install -g WebPlatformForEmbedded/Lightning-CLI
- Install the NPM dependencies by running
npm install
- Build the app and fire up a webserver by running
lng dev
Now you can navigate to the Routed App. Inspect the comments in the source-code or inspect the complete documentation below.