This repo contains the source code and documentation powering single-spa.js.org. Powered by Docusaurus.
- git
- node >=16.14
- your fork of this repo
git clone [email protected]:<your-fork-of>/single-spa.js.org.gitcd single-spa.js.orgto go into the website rootnpm ito install dependencies
- run
npm startto start the hot-reloading development server open http://localhost:3000to open the site in your favorite browser- Changes to files in
src/will hot-reload - Changes to markdown files in
docs/will hot-reload - Changes to
docusaurus.config.jsandsidebars.jsonwill not hot-reload
- Changes to files in
Want to help improve the single-spa.js.org website? Checkout the steps below to learn how.
git pull origin masterto ensure you have the latest main codegit switch -c descriptive-branch-name
Test visual changes using any number of latest versions of common browsers, on both desktop and mobile
git add . && git commit -m "My message"(replacingMy messagewith a commit message, such asFixed header logo) to stage and commit your changesgit push my-fork-name the-name-of-my-branch- Go to the upstream single-spa.js.org repo and you should see recently pushed branches.
- Create a pull request describing the changes
- If possible, include screenshots of visual changes.
- (Optional) Post your PR in the #maintainers channel of the Slack workspace