CLI application - morteza-jamali/winword GitHub Wiki
WinWord uses npm scripts and composer scripts for CLI application .
Compiling and bundling assets
- For compiling and bundling assets , run command below :
$ npm run webpackCompile
Or
$ node_modules/.bin/webpack --config=node_modules/laravel-mix/setup/webpack.config.js
- For watching files for changes run command below :
$ npm run webpackWatch
Or
$ node_modules/.bin/webpack --config=node_modules/laravel-mix/setup/webpack.config.js --watch
Controllers
- For creating AngularJS Controller use following command :
composer create-controller -- --js=ControllerName
- For creating PHP Controller use following command :
composer create-controller -- --php=ControllerName