saberyjs liked this thread
I use Laravel Mix to compile my assets and combine multiple scripts.
My webpack.mix.js
file has code like the following:
mix.scripts([
'resources/assets/js/vendor/selectize.js',
'node_modules/pikaday/pikaday.js',
'resources/assets/js/admin.js'
], 'public/js/admin.js')
See the Working With JavaScript part of Laravel's documentation to learn more.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community