frontend/README.md
đ¨ Modern Frontend Platform for RPA Applications
English | įŽäŊ䏿
</div>AstronRPA Frontend is a modern frontend platform built for RPA applications. It provides a comprehensive solution for building both web-based and desktop RPA applications with a unified codebase.
The platform features a monorepo architecture using pnpm workspaces, supporting multiple application types including web applications, desktop applications, and browser plugins, all sharing common components and utilities.
Frontend Framework: Vue 3 + TypeScript + Vite UI Components: Ant Design Vue + VXE Table Desktop App: Electron State Management: Pinia Package Manager: pnpm workspaces Testing: Vitest + Vue Test Utils Code Quality: ESLint + Prettier Build Tools: Vite + Rollup Styling: Sass + Tailwind CSS Internationalization: i18next + vue-i18n
# Clone the repository
git clone https://github.com/iflytek/astron-rpa.git
cd astron-rpa/frontend
# Install dependencies
pnpm install
# Configure environment variables
pnpm set-env
# Start web development server
pnpm dev:web
# Start desktop app (development mode)
pnpm dev:desktop
# Build web application
pnpm build:web
# Build desktop application
pnpm build:desktop
# Run tests
pnpm test
# Run tests with UI
pnpm test:ui
# Lint and fix code
pnpm lint:fix
# Generate internationalization files
pnpm i18n
Frontend Monorepo
âââ packages/
â âââ web-app/ # Vue 3 Web Application
â âââ electron-app/ # Electron Desktop App
â âââ browser-plugin/ # Browser Extension
â âââ components/ # Shared Components
â âââ types/ # Type Definitions
â âââ tokens/ # Design Tokens
â âââ locales/ # i18n Resources
âââ node_modules/ # Dependencies
âââ package.json # Root Package Config
âââ pnpm-workspace.yaml # Workspace Configuration
âââ vitest.config.ts # Test Configuration
Web Application
Desktop Application
Shared Infrastructure