This demo site shows the capability of the Bridgetown Lit Renderer plugin. It allows you to create "islands" of Lit web component-based interactivity, complete with SSR + Hydration support.
cd bridgetown-site-folder
bundle install && yarn install
Learn more: Bridgetown Getting Started Documentation.
To start your site in development mode, run bin/bridgetown start
and navigate to localhost:4000!
# running locally
bin/bridgetown start
# build & deploy to production
bin/bridgetown deploy
# load the site up within a Ruby console (IRB)
bin/bridgetown console
Learn more: Bridgetown CLI Documentation
You can deploy Bridgetown sites on "Jamstack" hosts (Netlify, Vercel, Render, etc.) or virtually any tranditional web server by simply building and copying the output folder to your HTML root.
Read the Bridgetown Deployment Documentation for more information.
If repo is on GitHub:
- Fork it
- Clone the fork using
git clone
to your local development machine. - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request