This is how to add Tom Select package to youre laravel project #installing-tom-select Installing Tom Select Open terminal in youre laravel project and install the package npm i tom-select Exit fullscreen mode #applying-tom-select-js Applying Tom Select JS open /resources/js/app.js and add Tom Select js in there window.TomSelect = require('tom-select')
Tom Select functionality will not work with out the css file, add Tom Select CSS to /resources/css/app.css ... @import '/node_modules/tom-select/dist/css/tom-select.default.css'; ...
Done Tom Select has been succesfully add to youre laravel project