-
Notifications
You must be signed in to change notification settings - Fork 0
CLI application
Morteza Jamali edited this page Mar 13, 2020
·
1 revision
WinWord uses npm scripts and composer scripts for CLI application .
- 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
- For creating AngularJS Controller use following command :
composer create-controller -- --js=ControllerName
- For creating PHP Controller use following command :
composer create-controller -- --php=ControllerName