yarn
yarn run takeoff:install
yarn run watch
In order to keep selectize working whitelist these classes:
whitelistPatterns: [//selectize/, /selectize-input dropdown-active/],
In order to keep modaal working whitelist these classes:
whitelistPatterns: [/modaal/, /modaal-*/],
With hot reloading enabled, the browser updates automatically when .js or .scss/.css file changes are detected.
yarn run watch
and yarn run dev
will not work when the .env file contains a DEV_SERVER_URL
./.env
DEV_SERVER_URL=https://[project code].local.statik.be:3000/
DEV_SERVER_PORT=3000
DEV_SERVER_HOST=[project code].local.statik.be
./resources/views/layouts/base.blade.php
@if (env('DEV_SERVER_URL'))
<script type="text/javascript" src="{{env('DEV_SERVER_URL')}}js/main.js"></script>
@else
<script type="text/javascript" src="js/main.js"></script>
@endif
yarn hot