question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to setup inside existing Ant Design Pro V4?

See original GitHub issue

Question

I didn’t found in docs how to setup inside existing Ant Design Pro V4?

Only mention I have found is this:

Install @umijs/preset-dumi in the existing Umi project into devDependencies, and then configure resolve.includes as needed (for example, the src/components directory usually conventional defined as business component libraries and the documents corresponding to libraries).

I have installed the @umijs/preset-dumi devDependencies. And now what?

Where is the docs?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
crudocommented, Apr 15, 2021

After installing npm install --save dumi-theme-default It finally works.

1reaction
PeachScriptcommented, Apr 15, 2021

3 steps make your expected documentation:

  1. Install @umijs/preset-dumi into devDependencies, and do not install dumi
  2. Configure resolve: { include: ['src/components'] } for your config/config.ts
  3. npm start then visit http://localhost:8000/~docs will show the documentation from src/components directory
Read more comments on GitHub >

github_iconTop Results From Across the Web

Config - Ant Design Pro
Configure the publicPath of webpack. When packaging, webpack will add the value of publicPath in front of the static file path. When you...
Read more >
Getting Started - Ant Design Pro
cd myapp && npm install. Run this first to install/update any required dependencies. start. Running this script starts the service and ...
Read more >
New Page - Ant Design Pro
Add files to menus and routes. The menu in Bigfish's default layout is generated based on the route in routes.ts , so we...
Read more >
Layout - Ant Design Pro
Layout is necessary for a middle and back-end application. One layout + ProTable + Form can get a CRUD page. Plugin-layout is built...
Read more >
FAQ - Ant Design Pro
You only need to configure the proxy property in config.js.As long as the proxy and mock url are different, they can be used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found