How to setup inside existing Ant Design Pro V4?
See original GitHub issueQuestion
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:
- Created 2 years ago
- Comments:13 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After installing
npm install --save dumi-theme-default
It finally works.3 steps make your expected documentation:
@umijs/preset-dumi
intodevDependencies
, and do not installdumi
resolve: { include: ['src/components'] }
for yourconfig/config.ts
npm start
then visithttp://localhost:8000/~docs
will show the documentation fromsrc/components
directory