Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.16 KB

README.md

File metadata and controls

55 lines (45 loc) · 1.16 KB

MinerU web

Table of Contents

Local Frontend Development

Prerequisites

  • Node.js 18.x
  • pnpm

Installation Steps

  1. Install Node.js 18

  2. Install pnpm

    npm install -g pnpm
  3. Clone the repository

    cd ./projects/web
    
  4. Install dependencies

    pnpm install
    
  5. Run the development server

    pnpm run dev
    
  6. ⚠️ Note: This command is for local development only, do not use for deployment! Open your browser and visit https://localhost:5173 (or another address output in the console)

  7. Ensure that the backend service in ./projects/web_demo is running

  8. If you encounter an error when executing pnpm install, you can switch to an alternative package manager.

    npm install -g yarn
    yarn
    yarn start
    

Building the Project

pnpm run build

Technology Stack

  • React
  • Tailwind CSS
  • typeScript
  • zustand
  • ahooks