Questions tagged [umijs]

For questions about the pluggable React application framework

Project homepage - https://umijs.org/

39 questions
1
vote
1 answer

antd ProLayout component - fetch menu data from server

I'm using UmiJs for my configurations and I want to add Routes that I fetch from an API. My problem is that the data are too many, being used on other parts of the app and has possible changes in the future. So for me to avoid updating the Menu data…
jhimanjhi
  • 97
  • 1
  • 6
1
vote
1 answer

Hide messy rendered page until DomContentLoaded

My website is showing messy components until DomContentLoaded. I would like to show a loading-spinner or hide the content until page is loaded. I'm using React SSR with UmiJS3.
kambi
  • 3,291
  • 10
  • 37
  • 58
1
vote
3 answers

How to access DVA Store in UMI application?

Hi most of the react developers would find dvaJS and umiJS, heaven for state management and application development. Dva is elm based state management tool that use react-redux for state management. Q: How to access DVA Store in UMI application,…
Charanjit Singh
  • 809
  • 10
  • 23
1
vote
1 answer

Any idea how to add manifest.json to html head dynamiclly

I realized that, by default, the umi project does not have manifest.json. I added the file to the public folder manually. Then, after compiling the application through the umi build command, my custom file is merged with thedist folder. But is there…
ivrusson
  • 11
  • 1
1
vote
1 answer

how to load images from a local directory and display them in reactjs app?

hello dear developers, i'm using ant design app template as frontent and a graphql api serving as backend, i have reached a situation where i would like to fetch list of posts, everything is working fine on the backend, the API returns the posts…
Mohamed Aarab
  • 846
  • 1
  • 11
  • 16
1
vote
1 answer

Behind-scene after "umi dev"

Just started learning React js and then I found this enterprise-level react application framework called Umi. Since I am just a beginner with Node js too, I am having a hard time understanding what really happened after I typed 'umi dev' in the…
NJUHOBBY
  • 850
  • 3
  • 10
  • 30
0
votes
0 answers

Build standalone React component to delivery on CDN using umijs

After building my React application and MyModule I create an html file for test :