'How to use third-party JavaScript libraries in Laravel Mix
How do you guys manage to use Laravel Mix if there are many third-party JavaScript plugins? I use Laravel Mix for normal things, but now I have an Admin Panel Dashboard theme, and there are lots of plugins used as follows.
<script src=“assets/js/jquery.min.js”></script>
<script src=“assets/js/bootstrap.min.js”></script>
<script src=“assets/js/detect.js”></script>
<script src=“assets/js/fastclick.js”></script>
<script src=“assets/js/jquery.slimscroll.js”></script>
<script src=“assets/js/jquery.blockUI.js”></script>
<script src=“assets/js/waves.js”></script>
<script src=“assets/js/wow.min.js”></script>
<script src=“assets/js/jquery.nicescroll.js”></script>
<script src=“assets/js/jquery.scrollTo.min.js”></script>
<script src=“assets/js/jquery.app.js”></script>
These are the javascript files, and also there are CSS files for the same as well. So what is the best-recommended way to do it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|