Skip to content

[EPIC] Frontend Migration: Vite + shadcn/ui + Tailwind CSS #183

@MohsinHashmi-DataInn

Description

@MohsinHashmi-DataInn

Epic Overview

Comprehensive migration of SimpleAccounts-UAE frontend from Create React App with mixed UI libraries to Vite + shadcn/ui + Tailwind CSS.

Motivation

  • Create React App is in maintenance mode
  • Mixed UI libraries (CoreUI, Reactstrap, MUI) cause inconsistency
  • Bundle size bloat from multiple UI libraries
  • Moment.js adds unnecessary weight
  • Modern tooling offers better DX and performance

Related Discussion


Dependency Graph

#157 (Vite) ─────────┬────────────────────────────────────────────┐
                     │                                            │
                     ├─→ #158 (Tailwind) ─→ #159 (shadcn/ui)     │
                     │                           │                │
                     │                           ├─→ #163 (RHF)   │
                     │                           │                │
                     │                           ├─→ #164 (Components)
                     │                           │                │
                     │                           └─→ #165 (TanStack Table)
                     │                                            │
                     ├─→ #161 (React Router v6)                   │
                     │                                            │
                     └─→ #162 (Redux Toolkit)                     │
                                                                  │
Independent (can run anytime):                                    │
  #160 (Day.js - Moment replacement)                              │
                                                                  │
After component setup:                                            │
  #166 (Layout) ─→ #167 (Auth) ─→ #168 (Dashboard)               │
                                                                  │
Module migrations (after #166):                                   │
  #169 (Customer Invoice) ─→ #172 (Supplier Invoice)             │
  #170 (Contact)                                                  │
  #171 (Product)                                                  │
  #173 (Expense)                                                  │
  #174 (Payroll)                                                  │
  #175 (Reports)                                                  │
  #176 (Procurement)                                              │
  #177 (Settings)                                                 │
  #178 (Other financials)                                         │
                                                                  │
Final cleanup:                                                    │
  #179 (Remove legacy) ─→ #180 (Test config) ─→ #181 (Tests)     │
                                            ↓                     │
                                         #182 (Validation) ← FINISH

Phase 1: Foundation (Start Here)

Phase 2: Core Infrastructure

Phase 3: Component Library

Phase 4: Screen Migrations

Phase 5: Cleanup & Validation


Success Criteria

  • Application builds with Vite
  • All screens using shadcn/ui components
  • No Bootstrap/CoreUI/Reactstrap dependencies
  • Bundle size reduced by 30%+
  • All tests passing (70% coverage)
  • Performance metrics maintained or improved

Quick Reference: What Can Run in Parallel

After completing Can start in parallel
#157 (Vite) #158, #160, #161, #162
#159 (shadcn) #163, #164, #165
#166 (Layout) #167, #168, #169-#178
All migrations #179

Current Stack → Target Stack

Component Current Target
Build CRA 5.0.1 Vite 5.x
UI CoreUI/Reactstrap/MUI shadcn/ui + Base UI
Styling Bootstrap + SASS Tailwind CSS
Forms Formik 1.5.1 React Hook Form + Zod
Date Moment.js Day.js
Router React Router 5 React Router 6
State Redux + Thunk Redux Toolkit
Tables react-bootstrap-table TanStack Table

Epic created: December 2025
Total issues: 26
Total files affected: 1,234

Metadata

Metadata

Assignees

Labels

P1-highHigh priorityenhancementNew feature or requestfrontendFrontend related changesmigrationMigration/upgrade tasks

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions