Andreas Hunter
Andreas Hunter

Reputation: 5014

Remove deleted component from vue-loader cache

I created a component and used it in my nuxt app. When my app is runned I've delete it and nuxt return me error message:

enter image description here

How I can solve error with removed component in my case?

Upvotes: 1

Views: 876

Answers (1)

Andrew1325
Andrew1325

Reputation: 3579

It looks like you have a file "test.vue" in the pages directory. Ie. /pages/test.vue

It would appear that page is trying to load your deleted component. I guess it has an:

import Unauth from "@/component/Unauth"

Delete that line and "Unauth" from the components section.

Upvotes: 2

Related Questions