Before making large PRs, you may want to discuss your proposals in either the Discord Contributing Channel, the GitHub Discussions page, or the GitHub Issues page.
This project uses PNPM and a TurboRepo with 2 projects.
- The library itself in
/packages/material-react-tablewhich also contains a storybook site for local development - The docs site in
/apps/material-react-table-docs
Create your own fork, clone, and then make a feature/bugfix branch off of main. Branch name does not really matter.
pnpm ipnpm storybookThe Storybook site will open on port 6006 by default.
pnpm docs:devThe Docs site will open on port 3000 by default.
Note: If you are contributing a new locale and are trying to test it in the docs site, you will need to run
pnpm lib:build-localesand thenpnpm docs:devbefore it can be imported.
pnpm lib:buildNote: After building the library, if you are running the docs site locally, it will use the compiled output of the dist folder. This can be annoying if you are trying to test changes to the library in the docs site itself. Just delete the
/distfolder to test lib changes in the docs site.