scandipwa / create-magento-app

A zero-configuration tool-chain which allows to deploy Magento 2 application in minutes!
https://docs.create-magento-app.com
Open Software License 3.0
32 stars 20 forks source link

If template file is missing, copy it from templates folder into project #148

Open ejnshtein opened 3 months ago

ejnshtein commented 3 months ago

Is your proposal related to a problem?

We force users to copy template files into their project and adjust as needed, but it can create a bit of confusion if one of the steps is not done (file not copied, file copied but cma.js is not updated).
I propose adding a copy of the file to the project root directory (CWD or current working directory of running CMA application) so we reduce the number of steps for adjusting templates and other configurations.