composer install
npm install
Type in terminals:
php -S 0.0.0.0:8000 -t www
- open
localhost:8000
npm run start
- generates development bundlesnpm run watch
- watch changes in development bundlesnpm run serve
- starts webpack development servernpm run build
- generates production bundles
We gonna need webpack dev server and php dev server.
php -S 0.0.0.0:8000 -t www
npm run serve
- open
localhost:8080
Or use make target:
make start
- open
localhost:8080