Commit 82b4a281 authored by bvipul's avatar bvipul

Webpack configuration with the application

parent 1588679c
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.dummy_small_plural_model.management')) @section ('title', trans('labels.backend.dummy_small_plural_model.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.dummy_small_plural_model.management') }}</h1> <h1>{{ trans('labels.backend.dummy_small_plural_model.management') }}</h1>
@endsection @endsection
...@@ -45,7 +41,7 @@ ...@@ -45,7 +41,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
//Below written line is short form of writing $(document).ready(function() { }) //Below written line is short form of writing $(document).ready(function() { })
......
...@@ -127,6 +127,11 @@ ...@@ -127,6 +127,11 @@
"repeat-string": "1.6.1" "repeat-string": "1.6.1"
} }
}, },
"almond": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/almond/-/almond-0.3.3.tgz",
"integrity": "sha1-oOfJWsdiTWQXtElLHmi/9pMWiiA="
},
"alphanum-sort": { "alphanum-sort": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",
...@@ -1251,6 +1256,34 @@ ...@@ -1251,6 +1256,34 @@
"hoek": "2.16.3" "hoek": "2.16.3"
} }
}, },
"bootstrap": {
"version": "3.3.7",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-3.3.7.tgz",
"integrity": "sha1-WjiTlFSfIzMIdaOxUGVldPip63E="
},
"bootstrap-datetimepicker-npm": {
"version": "4.17.37-npm",
"resolved": "https://registry.npmjs.org/bootstrap-datetimepicker-npm/-/bootstrap-datetimepicker-npm-4.17.37-npm.tgz",
"integrity": "sha1-ZGHJ+raW52IaRr6+KO0VAzPL2iY=",
"requires": {
"bootstrap": "3.3.7",
"jquery": "2.1.4",
"moment": "2.8.4",
"moment-timezone": "0.4.1"
},
"dependencies": {
"jquery": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-2.1.4.tgz",
"integrity": "sha1-IoveaYoMYUMdwmMKahVPFYkNIxc="
},
"moment": {
"version": "2.8.4",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.8.4.tgz",
"integrity": "sha1-zBdKq7GSI+//VpmpRngFoniYOL8="
}
}
},
"bootstrap-sass": { "bootstrap-sass": {
"version": "3.3.7", "version": "3.3.7",
"resolved": "https://registry.npmjs.org/bootstrap-sass/-/bootstrap-sass-3.3.7.tgz", "resolved": "https://registry.npmjs.org/bootstrap-sass/-/bootstrap-sass-3.3.7.tgz",
...@@ -4886,6 +4919,11 @@ ...@@ -4886,6 +4919,11 @@
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.1.tgz", "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.1.tgz",
"integrity": "sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c=" "integrity": "sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c="
}, },
"jquery-mousewheel": {
"version": "3.1.13",
"resolved": "https://registry.npmjs.org/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz",
"integrity": "sha1-BvAzXxbjU6aV5yBr9QUDy1I6buU="
},
"js-base64": { "js-base64": {
"version": "2.1.9", "version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
...@@ -5781,6 +5819,19 @@ ...@@ -5781,6 +5819,19 @@
"minimist": "0.0.8" "minimist": "0.0.8"
} }
}, },
"moment": {
"version": "2.18.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz",
"integrity": "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8="
},
"moment-timezone": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.4.1.tgz",
"integrity": "sha1-gfWYw61eIs2teWtn7NjYjQ9bqgY=",
"requires": {
"moment": "2.18.1"
}
},
"mozjpeg": { "mozjpeg": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/mozjpeg/-/mozjpeg-4.1.1.tgz", "resolved": "https://registry.npmjs.org/mozjpeg/-/mozjpeg-4.1.1.tgz",
...@@ -5879,6 +5930,21 @@ ...@@ -5879,6 +5930,21 @@
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=",
"dev": true "dev": true
}, },
"nestable2": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/nestable2/-/nestable2-1.5.0.tgz",
"integrity": "sha512-NaEe7FfFb052VL9qhDikM7w9BFyfDmhQraUfM67mxx+M8GsJenI3kfRK+aomaamqOwA47XEjqd6DZUlAqKsLbw==",
"requires": {
"jquery": "1.12.4"
},
"dependencies": {
"jquery": {
"version": "1.12.4",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-1.12.4.tgz",
"integrity": "sha1-AeHfuikP5z3rp3zurLD5ui/sngw="
}
}
},
"no-case": { "no-case": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.1.tgz", "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.1.tgz",
...@@ -7741,6 +7807,15 @@ ...@@ -7741,6 +7807,15 @@
"integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=",
"dev": true "dev": true
}, },
"select2": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/select2/-/select2-4.0.4.tgz",
"integrity": "sha1-oYpih4X5jROZmXGuldjX5XJoB2s=",
"requires": {
"almond": "0.3.3",
"jquery-mousewheel": "3.1.13"
}
},
"selfsigned": { "selfsigned": {
"version": "1.10.1", "version": "1.10.1",
"resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.1.tgz", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.1.tgz",
...@@ -8729,6 +8804,11 @@ ...@@ -8729,6 +8804,11 @@
"setimmediate": "1.0.5" "setimmediate": "1.0.5"
} }
}, },
"tinymce": {
"version": "4.5.8",
"resolved": "https://registry.npmjs.org/tinymce/-/tinymce-4.5.8.tgz",
"integrity": "sha1-OvQu+zHFucJ+SxHvSSDhlvGl/E4="
},
"to-absolute-glob": { "to-absolute-glob": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
......
...@@ -46,3 +46,8 @@ window.axios.defaults.headers.common = { ...@@ -46,3 +46,8 @@ window.axios.defaults.headers.common = {
// broadcaster: 'pusher', // broadcaster: 'pusher',
// key: 'your-pusher-key' // key: 'your-pusher-key'
// }); // });
//
// var glob = require( 'glob' )
// , path = require( 'path' );
require('tinymce/tinymce');
\ No newline at end of file
...@@ -53,4 +53,7 @@ ...@@ -53,4 +53,7 @@
@import "print"; @import "print";
// Plugins // Plugins
@import "../plugin/sweetalert/sweetalert.scss"; @import "../plugin/sweetalert/sweetalert.scss";
\ No newline at end of file
//Select2
@import "~select2/dist/css/select2.css";
\ No newline at end of file
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.access.users.management') . ' | ' . trans('labels.backend.access.users.deactivated')) @section ('title', trans('labels.backend.access.users.management') . ' | ' . trans('labels.backend.access.users.deactivated'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1> <h1>
{{ trans('labels.backend.access.users.management') }} {{ trans('labels.backend.access.users.management') }}
...@@ -70,7 +66,7 @@ ...@@ -70,7 +66,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
var dataTable = $('#users-table').dataTable({ var dataTable = $('#users-table').dataTable({
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.access.users.management') . ' | ' . trans('labels.backend.access.users.deleted')) @section ('title', trans('labels.backend.access.users.management') . ' | ' . trans('labels.backend.access.users.deleted'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1> <h1>
{{ trans('labels.backend.access.users.management') }} {{ trans('labels.backend.access.users.management') }}
...@@ -70,7 +66,7 @@ ...@@ -70,7 +66,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
var dataTable = $('#users-table').dataTable({ var dataTable = $('#users-table').dataTable({
......
...@@ -2,11 +2,6 @@ ...@@ -2,11 +2,6 @@
@section ('title', trans('labels.backend.access.users.management')) @section ('title', trans('labels.backend.access.users.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1> <h1>
{{ trans('labels.backend.access.users.management') }} {{ trans('labels.backend.access.users.management') }}
...@@ -83,7 +78,7 @@ ...@@ -83,7 +78,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.access.permissions.management')) @section ('title', trans('labels.backend.access.permissions.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.access.permissions.management') }}</h1> <h1>{{ trans('labels.backend.access.permissions.management') }}</h1>
@endsection @endsection
...@@ -68,7 +64,7 @@ ...@@ -68,7 +64,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.access.roles.management')) @section ('title', trans('labels.backend.access.roles.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.access.roles.management') }}</h1> <h1>{{ trans('labels.backend.access.roles.management') }}</h1>
@endsection @endsection
...@@ -70,7 +66,7 @@ ...@@ -70,7 +66,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.blogcategories.management')) @section ('title', trans('labels.backend.blogcategories.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.blogcategories.management') }}</h1> <h1>{{ trans('labels.backend.blogcategories.management') }}</h1>
@endsection @endsection
...@@ -66,7 +62,7 @@ ...@@ -66,7 +62,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.blogs.management')) @section ('title', trans('labels.backend.blogs.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.blogs.management') }}</h1> <h1>{{ trans('labels.backend.blogs.management') }}</h1>
@endsection @endsection
...@@ -68,7 +64,7 @@ ...@@ -68,7 +64,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.blogtags.management')) @section ('title', trans('labels.backend.blogtags.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.blogtags.management') }}</h1> <h1>{{ trans('labels.backend.blogtags.management') }}</h1>
@endsection @endsection
...@@ -66,7 +62,7 @@ ...@@ -66,7 +62,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.cmspages.management')) @section ('title', trans('labels.backend.cmspages.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.cmspages.management') }}</h1> <h1>{{ trans('labels.backend.cmspages.management') }}</h1>
@endsection @endsection
...@@ -66,7 +62,7 @@ ...@@ -66,7 +62,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.emailtemplates.management')) @section ('title', trans('labels.backend.emailtemplates.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.emailtemplates.management') }}</h1> <h1>{{ trans('labels.backend.emailtemplates.management') }}</h1>
@endsection @endsection
...@@ -84,7 +80,7 @@ ...@@ -84,7 +80,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.faqs.management')) @section ('title', trans('labels.backend.faqs.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.faqs.management') }}</h1> <h1>{{ trans('labels.backend.faqs.management') }}</h1>
@endsection @endsection
...@@ -70,7 +66,7 @@ ...@@ -70,7 +66,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -25,11 +25,7 @@ ...@@ -25,11 +25,7 @@
@else @else
{{ Html::style(mix('css/backend.css')) }} {{ Html::style(mix('css/backend.css')) }}
@endif @endif
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }} {{ Html::style(mix('css/backend-custom.css')) }}
{!! Html::style('js/select2/select2.css') !!}
{!! Html::style('css/bootstrap.min.css') !!}
{!! Html::style('css/custom-style.css') !!}
{!! Html::style('css/bootstrap-datetimepicker.min.css') !!}
@yield('after-styles') @yield('after-styles')
<!-- Html5 Shim and Respond.js IE8 support of Html5 elements and media queries --> <!-- Html5 Shim and Respond.js IE8 support of Html5 elements and media queries -->
...@@ -74,14 +70,8 @@ ...@@ -74,14 +70,8 @@
<!-- JavaScripts --> <!-- JavaScripts -->
@yield('before-scripts') @yield('before-scripts')
{{ Html::script("js/moment.min.js") }}
{{ Html::script(mix('js/backend.js')) }} {{ Html::script(mix('js/backend.js')) }}
{!! Html::script('js/backend/notification.js') !!} {{ Html::script(mix('js/backend-custom.js')) }}
{{ Html::script('js/backend/admin.js') }}
{!! Html::script('js/select2/select2.js') !!}
{{ Html::script("js/tinymce/tinymce.min.js") }}
{{ Html::script("js/bootstrap-datetimepicker.min.js") }}
{{ Html::script('js/backend/custom-file-input.js') }}
@yield('after-scripts') @yield('after-scripts')
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.menus.management')) @section ('title', trans('labels.backend.menus.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.menus.management') }}</h1> <h1>{{ trans('labels.backend.menus.management') }}</h1>
@endsection @endsection
...@@ -63,7 +59,7 @@ ...@@ -63,7 +59,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
@section ('title', trans('labels.backend.modules.management')) @section ('title', trans('labels.backend.modules.management'))
@section('after-styles')
{{ Html::style("css/backend/plugin/datatables/dataTables.bootstrap.min.css") }}
@endsection
@section('page-header') @section('page-header')
<h1>{{ trans('labels.backend.modules.management') }}</h1> <h1>{{ trans('labels.backend.modules.management') }}</h1>
@endsection @endsection
...@@ -71,7 +67,7 @@ ...@@ -71,7 +67,7 @@
@section('after-scripts') @section('after-scripts')
{{-- For DataTables --}} {{-- For DataTables --}}
@include('includes.datatables') {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { $(function() {
......
...@@ -14,6 +14,15 @@ const WebpackRTLPlugin = require('webpack-rtl-plugin'); ...@@ -14,6 +14,15 @@ const WebpackRTLPlugin = require('webpack-rtl-plugin');
mix.sass('resources/assets/sass/frontend/app.scss', 'public/css/frontend.css') mix.sass('resources/assets/sass/frontend/app.scss', 'public/css/frontend.css')
.sass('resources/assets/sass/backend/app.scss', 'public/css/backend.css') .sass('resources/assets/sass/backend/app.scss', 'public/css/backend.css')
.styles([
'public/css/plugin/datatables/jquery.dataTables.min.css',
'public/css/backend/plugin/datatables/dataTables.bootstrap.min.css',
'public/css/plugin/datatables/buttons.dataTables.min.css',
'public/js/select2/select2.css',
'public/css/bootstrap.min.css',
'public/css/custom-style.css',
'public/css/bootstrap-datetimepicker.min.css'
], 'public/css/backend-custom.css')
.js([ .js([
'resources/assets/js/frontend/app.js', 'resources/assets/js/frontend/app.js',
'resources/assets/js/plugin/sweetalert/sweetalert.min.js', 'resources/assets/js/plugin/sweetalert/sweetalert.min.js',
...@@ -22,8 +31,32 @@ mix.sass('resources/assets/sass/frontend/app.scss', 'public/css/frontend.css') ...@@ -22,8 +31,32 @@ mix.sass('resources/assets/sass/frontend/app.scss', 'public/css/frontend.css')
.js([ .js([
'resources/assets/js/backend/app.js', 'resources/assets/js/backend/app.js',
'resources/assets/js/plugin/sweetalert/sweetalert.min.js', 'resources/assets/js/plugin/sweetalert/sweetalert.min.js',
'resources/assets/js/plugins.js', 'resources/assets/js/plugins.js'
], 'public/js/backend.js') ], 'public/js/backend.js')
//Copying all directories of tinymce to public folder
.copyDirectory('node_modules/tinymce/plugins', 'public/js/plugins')
.copyDirectory('node_modules/tinymce/skins', 'public/js/skins')
.copyDirectory('node_modules/tinymce/themes', 'public/js/themes')
.scripts([
"node_modules/moment/moment.js",
"node_modules/select2/dist/js/select2.full.js",
"public/js/bootstrap-datetimepicker.min.js",
"public/js/backend/custom-file-input.js",
"public/js/backend/notification.js",
"public/js/backend/admin.js"
], 'public/js/backend-custom.js')
//Datatable js
.scripts([
'node_modules/datatables.net/js/jquery.dataTables.js',
'public/js/plugin/datatables/dataTables.bootstrap.min.js',
'node_modules/datatables.net-buttons/js/dataTables.buttons.js',
'node_modules/datatables.net-buttons/js/buttons.flash.js',
'public/js/plugin/datatables/jszip.min.js',
'public/js/plugin/datatables/pdfmake.min.js',
'public/js/plugin/datatables/vfs_fonts.js',
'node_modules/datatables.net-buttons/js/buttons.html5.js',
'node_modules/datatables.net-buttons/js/buttons.print.js',
], 'public/js/dataTable.js')
.webpackConfig({ .webpackConfig({
plugins: [ plugins: [
new WebpackRTLPlugin('/css/[name].rtl.css') new WebpackRTLPlugin('/css/[name].rtl.css')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment