I tried to import my local JS file in the "head" part of the nuxt.config.js file but failed. It is ok to import the "CDN" file in the same location
Installing the package through NPM solved the issue.
On top of cleaning a bit the current codebase.