AI native contract lifecycle management platform.
This repository is a React + Vite single-page app that renders the original HTML pages as content, while keeping routing and shared UI logic in React. It supports both Chinese and English routes.
Key goals:
- Preserve existing HTML content while migrating to a modern frontend build pipeline.
- Provide clean client-side routing for all pages.
- Keep design tokens and styles in one place for easier iteration.
Base URL: https://limitless2023.github.io/MeFlow-Agent-Intro/
Chinese routes:
//ai-native-system/architecture/context-engineering/enterprise-security/intelligent-analytics/intelligent-drafting/intelligent-negotiation/intelligent-performance/intelligent-review/knowledge-management/sales-cases/sota-models/tools-ecosystem
English routes:
/en/en/ai-native-system/en/architecture/en/context-engineering/en/enterprise-security/en/intelligent-analytics/en/intelligent-drafting/en/intelligent-negotiation/en/intelligent-performance/en/intelligent-review/en/knowledge-management/en/sales-cases/en/sota-models/en/tools-ecosystem
- React 18 + React Router
- Vite 7
- Tailwind CSS (design tokens + future utility migration)
- PostCSS + Autoprefixer
For a detailed map, see STRUCTURE.md.
MeFlow-Agent-Intro/
├── index.html # Vite entry
├── package.json # Scripts and dependencies
├── vite.config.js # Dev/preview ports and Vite config
├── src/
│ ├── App.jsx # Router entry
│ ├── main.jsx # React bootstrap
│ ├── routes.jsx # Route registry and link map
│ ├── components/
│ │ └── PageRenderer.jsx # Raw HTML renderer
│ ├── hooks/
│ │ ├── usePageMeta.js # Title/description updates
│ │ └── usePageInteractions.js # Menu and anchor interactions
│ ├── styles/
│ │ ├── base.css # Migrated global styles
│ │ ├── components.css # Page component styles
│ │ └── app.css # React container styles
│ └── content/
│ ├── *.html # Chinese pages
│ └── en/*.html # English pages
├── public/
│ └── assets/models/ # Model logos
└── agents.md # System architecture document
# Install deps
npm install
# Start dev server (default: http://127.0.0.1:5174)
npm run devBuild and preview:
npm run build
npm run preview- Page HTML lives in
src/contentand is imported with?raw. - Routing is centralized in
src/routes.jsx. - Internal HTML links are rewritten to match SPA routes via the route map.
Add a new page:
- Add the HTML file under
src/content(andsrc/content/enif needed). - Register the route in
src/routes.jsx. - Add/update any links inside the HTML to match the route path (no
.html).
- Theme tokens live in
tailwind.config.js. - Shared styles are in
src/styles/base.cssandsrc/styles/components.css.
MIT