Laravel verwenden NPM -Paket
Run npm run watch , because keeps track of all changes in .js.
In app.js add
require('select2/dist/js/select2');
Crazy Capybara
Run npm run watch , because keeps track of all changes in .js.
In app.js add
require('select2/dist/js/select2');