A child theme boilerplate for our M2base core theme
Please Note: This is set up to work with our M2base theme as a parent, so probably isn’t much use to anyone else.
- Clone/download the repo and merge the files into your Magento 2 site, following the same directory structure
- Change all occurrences in the folders names and files of
MyTheme
,myTheme
andmytheme
to the name of your new theme (you could do a case sensitive find & replace) - Register the theme in
dev/themes-custom.js
(seedocs/frontend-build.md
for more info) - Add post install and update script to
composer.json
(seedocs/frontend-build.md
for more info)
See the included docs/frontend-build.md
doc.