A workspace for working on lit-ssr and related projects
This repo uses git submodules to check out the following repos/branches:
- PolymerLabs/lit-ssr master
- Polymer/lit-html hydration
- Polymer/lit-element hydration
- webcomponents/template-shadowroot master
Then it uses lerna to treat the submodule directories like packages in a lerna monorepo so that we can run commands across all the repos install dependencies, link the repos together, and build them.
To get started:
npm iq
npm run bootstrap
npm run build
To lauch the simplistic lit-ssr demo and make sure things are working:
cd lit-ssr
npm start
See the git submodule docs on Pulling Upstream Changes from the Project Remote.
git pull
on the superproject doesn't update the submodules by default. You need to run:
git submodule update --init --recursive
to recursively fetch and update submodules.
You can configure git pull
to do this automatically:
git config submodule.recurse true
See the git submodule docs on Working on a Submodule.
TBD