Use case
Framework
Owner
Nuxt/2/Convert Nuxt.Js Config To The `DefineNuxtConfig`
Convert Nuxt.js Config to defineNuxtConfig
Nuxt 2 Convert Nuxt.Js Config To `DefineNuxtConfig`
Convert Nuxt.js Config to defineNuxtConfig
Nuxt/4/Template Compilation Changes
This codemod removes lodash/template and related template utilities from Nuxt in favor of a more flexible and secure getContents() function for code generation in v3.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/Migration Recipe
This recipe is a set of codemods that will help migrate to Nuxt 4.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/Shallow Function Reactivity
This codemod transforms the
data
object returned fromuseAsyncData
,useFetch
,useLazyAsyncData
anduseLazyFetch
into ashallowRef
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/File Structure
Updates the file structure of a Nuxt.js project when migrating from v3 to v4.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/Deprecated Dedupe Value
This codemod removes deprecated boolean values for the dedupe option in refresh calls, replacing them with string literals cancel and defer
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/Default Data Error Value
Overview
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodNuxt/4/Absolute Watch Path
This codemod converts paths emitted by Nuxt's builder:watch hook from relative to absolute, enhancing support for external directories and complex patterns.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemod