The default LWC OSS project created using the create-lwc-app (https://github.com/muenzpraeger/create-lwc-app) tool lets you create a single page application. But did you know that by slightly modifying the webpack config, you can create a multi-page application as well? Watch this Quick Take to see how it is done.
Checkout the GitHub repo in the description for the app used in the demo:
https://github.com/adityanaag3/multipage-lwcoss
Fully Custom Webpack config file for multi-page app: https://gist.github.com/adityanaag3/f23a88d43680483b9c3c4cc5dd8c5b6c
Watch this Quick Take in which we’ve explained what is webpack, and how LWC OSS uses webpack:
URL: https://www.youtube.com/watch?v=M26BYVUiFCM’
Track: BeatFort – Rampant Sunrise
Music provided by Ninety9Lives
Stream / Free Download: 99l.tv/rampantsunriseYU
Connect with Salesforce Developers:
Website: https://www.developer.salesforce.com/
Facebook: https://www.facebook.com/salesforcedevs/
Twitter: https://www.twitter.com/salesforcedevs
LinkedIn: https://www.linkedin.com/showcase/salesforce-developers