'Common MUI theme for multiple Project

using createTheme I have created a theme for my project, it works fine. My question is how can I use that particular theme for my other projects without copying it again n again.

I asked this Ques. with Mui team they replied " Concerning your question, you can store your theme in a "shared" repository and use this repo as a dependency on all your projects. Once the theme is changed in the shared repo, all other projects would get the changes."

please let me know an efficient way of using it.How to create shared Repository.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source