Created
February 18, 2018 11:44
-
-
Save nasrulhazim/4f234ac97eba925d03efcd3c9424a097 to your computer and use it in GitHub Desktop.
Laravel: Datatables Webpack Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mix.js('resources/assets/js/app.js', 'public/js') | |
.scripts([ | |
'node_modules/datatables.net/js/jquery.dataTables.js', | |
'node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js' | |
], 'public/js/datatable.js') | |
.styles(['node_modules/datatables.net-bs4/css/dataTables.bootstrap4.css'], 'public/css/datatable.css') | |
.sass('resources/assets/sass/app.scss', 'public/css'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment