Forum

Include Datatables ...
 
Notifications
Clear all

Include Datatables using webpack.mix.js without npm

1 Posty
1 Users
0 Reactions
1,307 Widok
0
Topic starter

how to

1 Answer
0
Topic starter

example

1
2
3
4
5
6
7
8
mix.js('resources/assets/js/app.js', 'public/js')
    .scripts([
        'resources/assets/js/datatables/DataTables/datatables.js'
    ],'public/js/datatable.js')
    .styles(['resources/assets/js/datatables/DataTables/datatables.css'], 'public/css/datatable.css')
   .sass('resources/assets/sass/app.scss', 'public/css');
 
mix.copy( 'resources/assets/js/datatables/DataTables/DataTables-1.10.18', 'public/css', false );
mix.js('resources/assets/js/app.js', 'public/js')
    .scripts([
        'resources/assets/js/datatables/DataTables/datatables.js'
    ],'public/js/datatable.js')
    .styles(['resources/assets/js/datatables/DataTables/datatables.css'], 'public/css/datatable.css')
   .sass('resources/assets/sass/app.scss', 'public/css');

mix.copy( 'resources/assets/js/datatables/DataTables/DataTables-1.10.18', 'public/css', false );

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: