Where should I put my new Bolt CMS theme to allow it to be committed?

53 views Asked by At

I'm following this tutorial on creating a Bolt CMS theme ...

https://webdesign.tutsplus.com/courses/bolt-cms-theme-development/lessons/basic-theme-setup-and-intro-to-twig

... but I'm running into a problem: The tutorial tells me to create a new subdirectory inside of the /theme directory.

But this /theme directory is omitted from version control, along with all subdirectories!

I would like to treat my Bolt project as a monorepo, including my new custom theme.

Is there another place I can put my theme, such that I can store it in my monorepo? I really don't want to create a new repo just for a theme that's specific to my project.

Another option would be to change the .gitignore file that composer puts into place when I create a new Bolt project. I'll be happy to do that if there's not a better way, but I want to make sure I'm doing things the "right" way if possible.

0

There are 0 answers