Import Issues in Nuxtjs
Opened this issue · 0 comments
anku598 commented
@AndreaGottardi @borradaniele How to solve and import it the correct way in NuxtJs?
I am using a NuxtJs App. There is an issue with importing this library. where I used typescript as well. I follow all the step nuxtjs has to import the external library. But it's didn't work for me.
This error I got after import
I created a file called Hades.js
in the plugin folder and import it this way.
then the nuxt.config.js
i installed it correctly
After that when going to use it my own scroll.ts
file like this, I am getting the above error.