How 'fast-deep-equal' needs to be added as a plugin in a Nuxt 3 implementation #104
Stripkip
started this conversation in
Show and tell
Replies: 1 comment
-
For me adding this to the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As mentioned in the README; if you don't include 'fast-deep-equal' to your project, you'll get this error:
Requested module 'fast-deep-equal' does not provide an export named 'default'
If you are using Nuxt 3 however, you'll need to fix this differently.
After you've added
fast-deep-equal
withnpm install fast-deep-equal
.You'll need to configure
fast-deep-equal
as a plugin as well~/plugin/fastDeepEqual.ts.
(Maybe this should be added to the README here.)
Beta Was this translation helpful? Give feedback.
All reactions