Hey all,
I’m working on a Sage 10 project. How would I accomplice the following?
I want to build a theme locally and have it ready to use for remote usage.
- I work on a theme locally
- Build theme it locally
yarn build:production
- Push local git to GitHub and make a release
- Download and install theme directly into remote Wordpress
Last bullet is the least important. I’ve already made a updater class to check and download latest version from my github.
This is my current .gitignore
/node_modules
#/vendor
#/dist
npm-debug.log
yarn-error.log
.idea
I’ve commented-out /dist
and /vendors
since I know they need those files.
But my workflow is not correct from what I see. When installing the theme I get errors like:
Fatal error: Uncaught Error: Class 'Illuminate\Contracts\Container\BindingResolutionException' not found in ...
Fatal error: Uncaught Error: Class 'Symfony\Component\ErrorHandler\Error\FatalError' not found in ...
Can anyone point me into the right direction?