You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 weeks ago | |
---|---|---|
.. | ||
public | 4 weeks ago | |
src | 4 weeks ago | |
.gitignore | 4 weeks ago | |
README.md | 4 weeks ago | |
README_zh-CN.md | 4 weeks ago | |
eslint.config.js | 4 weeks ago | |
index.html | 4 weeks ago | |
package-lock.json | 4 weeks ago | |
package.json | 4 weeks ago | |
pnpm-lock.yaml | 4 weeks ago | |
postcss.config.js | 4 weeks ago | |
tailwind.config.js | 4 weeks ago | |
tsconfig.app.json | 4 weeks ago | |
tsconfig.json | 4 weeks ago | |
tsconfig.node.json | 4 weeks ago | |
vite.config.ts | 4 weeks ago |
README.md
MinerU web
Table of Contents
Local Frontend Development
Prerequisites
- Node.js 18.x
- pnpm
Installation Steps
-
Install Node.js 18
- Visit the Node.js official website to download and install Node.js version 18.x
-
Install pnpm
npm install -g pnpm
-
Clone the repository
cd ./projects/web
-
Install dependencies
pnpm install
-
Run the development server
pnpm run dev
-
⚠️ 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)
-
Ensure that the backend service in ./projects/web_demo is running
-
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