I am trying to use a HTML/CSS/JS template, which contains JQuery, plugins and some other script files, in a Nuxt JS project. I have included all the script files in nuxt.config.js file. Whenever I run the project I get these errors: \
This is my nuxt.config.js
file:
...
script: [
{
src: "/js/jquery-2.1.4.min.js",
},
{
src: "/js/mfn.menu.js",
body: true,
},
{
src: "/js/jquery.jplayer.min.js",
body: true,
},
{
src: "/js/animations.js",
body: true,
},
{
src: "/js/translate3d.js",
body: true,
},
{
src: "/js/scripts.js",
body: true,
},
{
src: "/plugins/jquery.themepunch.tools.min.js",
body: true,
},
{
src: "/plugins/jquery.themepunch.revolution.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.video.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.slideanims.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.actions.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.layeranimation.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.kenburn.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.navigation.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.migration.min.js",
body: true,
},
{
src: "/plugins/revolution.extension.parallax.min.js",
body: true,
},
{
src: "/js/on.load.js",
body: true,
},
...
Could somebody tell me what I am doing wrong, please?