77 This PR removes base-assets files from thinkwp-starter-theme, and adds a composer script to bring them back in from the thinkshout/base-assets repo.
This PR adds a new composer script file to the theme itself. This also works if we want to add the script to the top-level composer.json file instead. In that case, the script would need to be removed from this PR.
If adding it to the top level composer.json file, the script needs to be changed slightly, and the theme name would need to use a variable instead of pointing to think-friends:
77 This PR removes base-assets files from
thinkwp-starter-theme
, and adds a composer script to bring them back in from the thinkshout/base-assets repo.This PR adds a new composer script file to the theme itself. This also works if we want to add the script to the top-level composer.json file instead. In that case, the script would need to be removed from this PR.
If adding it to the top level composer.json file, the script needs to be changed slightly, and the theme name would need to use a variable instead of pointing to think-friends:
To test:
composer scaffold
scaffold
from base-assets to appear in the theme in the correct locations.npm install
, andnpm run build
Known bugs