I am facing an issue with including external JS files in my HTML document. The website requires these files to function properly.
What I have attempted:
In the main.js file, I tried adding these imports:
import '../../assets/js/jquery-3.5.1.min';
import '../../assets/js/home';
import '../../assets/js/common';
import '../../assets/js/flickity.pkgd';
import '../../assets/js/owl.carousel';
import '../../assets/js/jquery.simplePagination';
import '../../assets/js/zeynep';
However, when testing with vue serve
, it throws multiple errors or sometimes compiles successfully but stops displaying the website content.
Is there a way to import "normal" JS files without encountering these issues?