Migration Setup
What is V5 Migration?
1. Create Views Folder Structure
cd /path/to/your/app/Resources
npx lucy-xp init views --env v5Resources/
└── views/
├── src/
│ ├── views/ # View components (pages)
│ ├── components/ # Reusable components
│ ├── forms/ # Form components
│ ├── services.ts # API configurations
│ ├── types.ts # TypeScript types
│ ├── utils.ts # Utility functions
│ └── index.tsx # Registration entry point
├── dist/ # Build output (created by build)
├── bundle.json # App metadata
├── webpack.config.js # Webpack configuration
├── tsconfig.json # TypeScript configuration
├── localization.json # Translations
└── package.json # Dependencies2. Install Dependencies
3. Create Configuration File
4. Understanding the Migration
Old Structure (XML-based)
New Structure (V5 React-based)
Key Changes
Aspect
Old (XML)
New (V5)
5. Migration Strategy
6. What We'll Build Next
Folder Structure Reference
Next Steps
Last updated