Check out https://lwc-recipes-oss.herokuapp.com live on Heroku. Or on https://recipes.lwc.dev.
If you want to deploy LWC Recipes Open Source to Heroku, you can do the following:
- Create a Heroku application:
heroku create <app name>
- Deploy the application:
git push heroku main
- Clone the
lwc-recipes-oss
repository:
git clone https://github.com/trailheadapps/lwc-recipes-oss
cd lwc-recipes-oss
- Install the project dependencies using
npm
(oryarn
, if you prefer that alternatively)
npm install
- Build the LWR static site.
npm run build
- Start the app in watch mode.
npm run dev
- Enjoy the app!