this is my error enter image description here
i tried this ways and plugins doesn't work
{
type: "text/javascript",
src: "~/assets/js/kit.fontawesome.js",
},
{
type: "text/javascript",
src: "assets/js/kit.fontawesome.js",
},
{
type: "text/javascript",
src: "@/assets/js/kit.fontawesome.js",
},
{
type: "text/javascript",
src: "js/kit.fontawesome.js",
},
You can use useHead on .vue page as well. But it should be the same as you do. But if anyone else is interested:
The problem though you are facing is you are using wrong path. You need to use public path as I did in my example.
Or better, you can put your file into
public
folder let's saytest.js
file inside this folder will becomesrc: "/test.js"
.