#Quick question: Anyone else have issues with nuxt-lodash not auto-importing in Nuxt 4 compatibility?
3 messages · Page 1 of 1 (latest)
The documentation is incorrect for the (latest version?) of the Nuxt Lodash module. In the documentation is says the 'use' prefix is enabled by default, but in fact it is not. I was trying to use 'useIsEmpty' in my components, but 'isEmpty' is what is working by default. However, in a plugin I did have to use 'useKebabCase' rather than 'kebabCase'. Hopefully this won't break with an update later. I will post an issue in the Nuxt Lodash module GitHub repo about this.
Methods beginning with is are not prefixed by default, as per docs.