Leeqi7
Leeqi7

Reputation: 103

In nuxtJS, how to import native JS files in a single page

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

Upvotes: 1

Views: 280

Answers (1)

kissu
kissu

Reputation: 46774

Installing the package through NPM solved the issue.

On top of cleaning a bit the current codebase.

Upvotes: 1

Related Questions