I am developing a nopcommerce 4.3 plugin in that I am referencing the js file by AddScriptParts in view form.
Now, by giving link of script file, plugin features is working very well while if I give the path of js file and add in AddScriptParts then plugin features is not working.
Added AddScriptParts code (Which is not working),
Html.AddScriptParts(ResourceLocation.Footer, "~/Plugins/../Content/CSS/jquery.min.js");
Html.AddScriptParts(ResourceLocation.Footer, "~/Plugins/../Content/CSS/xyz.min.js");
Added JS file link(Which is working very well)
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://../xyz.min.js"></script>
But I want to add in AddScriptParts. How can I do?