Questions tagged [umijs]

For questions about the pluggable React application framework

Project homepage - https://umijs.org/

39 questions
0
votes
1 answer

Cannot find module 'umi'

I just start to learn umijs so, when I try to start (npm start ) then it saw error (Cannot find module 'umi') Cannot find module 'umi' Require stack: E:\Umijs\myapp.umirc.ts
praful
  • 41
  • 8
0
votes
1 answer

How to pass own environment variable to UMIJS application?

I have created an application using UMIJS and is working fine. But now I want to load some environment variables to my application using the .env file or by exporting them. But none of the variables are getting passed to the application. Also, all…
CoderXT
  • 122
  • 6
0
votes
1 answer

browser cache problem with umijs throws uncaught syntax error in production

This app is built using umijs and antdesign pro for frontend and node js express server for backend hosted on a Ubuntu server and Cloudflare is used for DNS management. If the app is being loaded for the first time on any browser, it works as…
0
votes
3 answers

how to disable Umi UI bubble in Ant Design Pro?

I am new with Ant Design Pro, I get project from git repo of Ant Design and I want to disable/hide Umi UI bubble on display. I refered to many pages and Google but It did not work for me. It taught me that created an .env and added line of code…
littleAnt
  • 263
  • 1
  • 4
  • 16
0
votes
0 answers

how to prevent a logged in user from going to the login page using antdesign umijs dvajs

I am working on a project using template antdesign pro with umij and dvajs, I will want to know what to do after storing the token in localstorage if I am logged in not to be redirected to the login page
0
votes
1 answer

Problem in adjusting website to mobile (Devtools vs real)

I've implemented Media CSS in my website and when I resize it in Chrome-Devtools it adjusts fine. But when I try it on mobile it shows like in a full desktop page. Here's my website: dinf when resizing the page in Devtools: When simulating…
kambi
  • 3,291
  • 10
  • 37
  • 58
0
votes
0 answers

Ant Design Pro manipulate breakpoint sizes

I have been struggling to manipulate/change the breakpoints in Ant Design Pro v4. According to the documentation it should be possible to change the size of the breakpoints via less and/or config.ts. E.g. in the config.ts file you should be able to…
0
votes
1 answer

Print every URL visited in the console

I'm taking over a web application written by someone else in React+Node+Express+Redux+Umi. I'm new to React+Redux+UMI. It is not a web site that we could see Url in a web browser. But I can use Chrome Dev Tools for debugging. I want to insert some…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
-2
votes
2 answers

what is the difference between Convention Routing and Configuring Routing?

I want to create an admin project, but now I have some questions about routing method. There are Convention Routing(like next.js) and Configuring Routing(like umijs, vue-element-admin), I don't know which one I should use. Can you tell me the…
Ccgo
  • 9
  • 2
1 2
3