AI-powered CLI tool for migrating Vue 2 projects to Vue 3, including Vue Router, Vuex, and Vuetify 3 support (v1.1.5). Uses OpenAI API for intelligent component transformations and codemods. Active development with frequent releases. Key differentiators: built-in support for 30+ package updates, modular migration steps with skip/only flags, custom migration rules overlay, and dry-run mode. Requires Node.js 16+, a Git repository, and an optional OpenAI API key for AI features.
npm install vue3-migration-toolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Runs the migration tool in dry-run mode with non-interactive flags to preview changes without modifying files.
Upgrade Node.js to version 16 or higher.
Set OPENAI_API_KEY environment variable or skip AI steps with --skip ai-codemods.
Use --rules flag instead of MIGRATION_RULES_PATH environment variable.
Initialize a Git repository with `git init` before running the tool.
Review all Vuetify components after migration; refer to official Vuetify 3 migration guide.
Monitor API usage and set budget alerts in your OpenAI account.
Validate your .md file structure against the built-in MIGRATION_RULES.md in the package repository.
Run the tool from the root of your Vue 2 project where the lockfile exists.
Set OPENAI_API_KEY in your environment or .env file before running AI commands.
Initialize a Git repository: git init
Use one of the valid step names: preflight, scan, update-dependencies, ai-codemods.
Check the path and ensure the file exists; use an absolute path if relative path fails.