dechen lin 2bd254d0fa feat: style 1 年間 前
..
public 791e653cf6 feat: add web project 1 年間 前
src 2bd254d0fa feat: style 1 年間 前
.gitignore 7e468d52d9 feat: conflict 1 年間 前
README.md 7e468d52d9 feat: conflict 1 年間 前
README_zh-CN.md 7e468d52d9 feat: conflict 1 年間 前
eslint.config.js 791e653cf6 feat: add web project 1 年間 前
index.html 791e653cf6 feat: add web project 1 年間 前
package-lock.json 791e653cf6 feat: add web project 1 年間 前
package.json 38086572c8 feat: mineru web and web_api 1 年間 前
pnpm-lock.yaml c2dd080165 feat: add readme 1 年間 前
postcss.config.js 791e653cf6 feat: add web project 1 年間 前
tailwind.config.js 791e653cf6 feat: add web project 1 年間 前
tsconfig.app.json 791e653cf6 feat: add web project 1 年間 前
tsconfig.json 791e653cf6 feat: add web project 1 年間 前
tsconfig.node.json 791e653cf6 feat: add web project 1 年間 前
vite.config.ts 293f788cd0 feat: vite config 1 年間 前

README.md

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
    

    git clone https://github.com/opendatalab/MinerU 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 http://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