I've got a simple Nuxt project that I'm working on, I installed Vue Icons and tried to add a search icon to my component, but when compiling I get the following error:
This dependency was not found:
* @vue-icons/feather in ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./components/SiteHeader.vue?vue&type=script&lang=js&
To install it, you can run: npm install --save @vue-icons/feather
But I already have it installed, both on my src, and functions folders (I'm hosting on firebase)
"dependencies": {
"@nuxtjs/firebase": "^7.6.1",
"@vue-icons/feather": "^1.0.19",
"firebase": "^8.9.1",
"isomorphic-fetch": "^3.0.0",
"nuxt": "^2.0.0"
}
The import statement I'm using is the one directly copied from the website
import { SearchIcon } from "@vue-icons/feather";
I some similar questions I read talked about transpiling the library, but that did not seem to work, do I need to add 3rd party libraries to some other part of the nuxt.config file?