|
|
há 1 ano atrás | |
|---|---|---|
| .. | ||
| public | há 1 ano atrás | |
| src | há 1 ano atrás | |
| .gitignore | há 1 ano atrás | |
| README.md | há 1 ano atrás | |
| README_zh-CN.md | há 1 ano atrás | |
| eslint.config.js | há 1 ano atrás | |
| index.html | há 1 ano atrás | |
| package-lock.json | há 1 ano atrás | |
| package.json | há 1 ano atrás | |
| pnpm-lock.yaml | há 1 ano atrás | |
| postcss.config.js | há 1 ano atrás | |
| tailwind.config.js | há 1 ano atrás | |
| tsconfig.app.json | há 1 ano atrás | |
| tsconfig.json | há 1 ano atrás | |
| tsconfig.node.json | há 1 ano atrás | |
| vite.config.ts | há 1 ano atrás | |
Install Node.js 18
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 ```