Routing for the Lightning Web Component
LWC-router is the client-side routing for the LWC. It allows us to build a single page web application with navigation without the page refreshing as the user navigates. LWC-router uses component structure to call component, which display appropriate information. All the routing are placed on one place so it's very easy to understand the component navigation.
See the Quick start guide for more details.
To install the LWC-router, we only need to click on the below button. It will redirect you to another page where you need to login to salesforce, it will automatically install in your org. It's nothing but just unlock package url.
sfdx force:package:install --package 04t2w000008L7OCAA0
Or refer, Click here to see installation process.
- Client-side routing for the LWC component.
- Simple and lightweight
- Routing for the single page application
- Handle browser navigation like back button.
- Handle browser refresh button.
- All the routing are placed on one place so it's very easy to understand the component navigation.
- Compatible for the Community and salesforce 1 application
When contributing to this repository, Please follow below process:
- Create a new branch from the 'Next_Release' with the feature name and
- After completing the feature, create the pull request for the 'Next_Release'.
We will merge 'Next_Release' to 'master' branch when we going to release next features and will create the release note for this.