Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Commit 9bd4c25

Browse files
committed
Merge branch 'feature/library-code-splitting' into develop
2 parents 79c099c + d9da2de commit 9bd4c25

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

resources/views/app.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<div id="app">
2424
<!-- Inject -->
2525
</div>
26+
<script src="{{ asset(mix('js/manifest.js')) }}"></script>
27+
<script src="{{ asset(mix('js/vendor.js')) }}"></script>
2628
<script src="{{ asset(mix('js/app.js')) }}"></script>
2729
</body>
2830
</html>

webpack.mix.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,25 @@ mix.vueOptions({
4242
},
4343
})
4444

45+
mix.extract([
46+
'axios',
47+
'bootstrap',
48+
'bootstrap-vue',
49+
'chart.js',
50+
'jquery',
51+
'lodash',
52+
'popper.js',
53+
'select2',
54+
'vue',
55+
'vue-chartjs',
56+
'vue-loading-spinner',
57+
'vue-notification',
58+
'vue-router',
59+
'vue-sweetalert2',
60+
'vuejs-datepicker',
61+
'vuex',
62+
])
63+
4564
if (mix.inProduction())
4665
mix.version()
4766
else

0 commit comments

Comments
 (0)