by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:19
    leesama commented #6976
  • Jul 09 22:22
    IronSean labeled #6980
  • Jul 09 22:22
    IronSean opened #6980
  • Jul 09 17:58
    pkdcryptos commented #6966
  • Jul 09 17:57
    pkdcryptos commented #6966
  • Jul 09 17:57
    pkdcryptos commented #6966
  • Jul 09 17:56
    pkdcryptos commented #6969
  • Jul 09 13:16

    dependabot-preview[bot] on npm_and_yarn

    (compare)

  • Jul 09 13:16
    dependabot-preview[bot] closed #434
  • Jul 09 13:16
    dependabot-preview[bot] commented #434
  • Jul 09 13:16
    dependabot-preview[bot] labeled #438
  • Jul 09 13:16

    dependabot-preview[bot] on npm_and_yarn

    Bump gatsby-plugin-less from 3.… (compare)

  • Jul 09 13:16
    dependabot-preview[bot] opened #438
  • Jul 09 12:50
    leesama commented #6977
  • Jul 09 12:45
    leesama commented #6975
  • Jul 09 11:42
    crashsol labeled #6979
  • Jul 09 11:42
    crashsol opened #6979
  • Jul 09 11:39
    Asence labeled #6978
  • Jul 09 11:39
    Asence opened #6978
  • Jul 09 11:38
    effapp commented #4106
RoXoM
@xyy94813
@cundejo Maybe babel-plugin-module-resolver or webpack.resolve.alias can help you.
But now Nodejs suggests use import XXX from '../node_modules/XXX' to replace import XXX from 'XXX’
BRAHIM Kamel
@BK-Soft
hello
I 'm starting using Antd design pro
and I would like to switch between layout based on component
any idea how I should configure the config.ts
BRAHIM Kamel
@BK-Soft
just if any one can help
xcesiv
@xcesiv
How do I make the sidebar default be collapsed by default? I’m trying to do so in a fresh clone of the repo and can’t seem to figure it out after looking at both the ant-design-pro-layout repo and the documnetation for ant-design and ant-design-pro. Any help would be great. Thank you
Scott Williams
@scott-joe
@xcesiv There should be a config option https://www.npmjs.com/package/@ant-design/pro-layout#prolayout
Looks like there are a lot of people asking questions, but not a lot of people answering questions... I'll drop it here to see if I get anything though. I used UMI to create an antd-pro app and I've attempted just about every method of theming/styling listed in the documentation. It flashes the new styles (bright red for debugging) before loading in what DevTools shows comes from the component's internal index.less file... can't get it to override. Anyone have experience with this?
Scott Williams
@scott-joe
@BK-Soft I think this is less about configuring your routes and more about auth kicking in when someone isn't logged in, redirecting them to the login page, then redirecting them to the dashboard when they have a valid session. (commented on Github as well)
@cundejo They're an ES6/Webpack thing called resolvers. https://stackoverflow.com/a/42753045/3957015 I couldn't find much in the webpack documentation itself, but that appears to be the tech behind an @ or ~ prefaced import string.
boukmi
@boukmi
Hi all, is there a way to add redux form with ant design pro v4?
I cannot figure out how to add redux-form reducer to the new ant design pro, any ideas?
Scott Williams
@scott-joe
Haven't tried that yet. I do know Pro uses DVA and DVA is a sort of...supeset or influenced by Redux...
boukmi
@boukmi
Yeah I couldn’t figure out how to add the form
boukmi
@boukmi
Yeah I couldn’t figure out how to add the redux form reducer to the existing dva/modal architecture
Scott Williams
@scott-joe
Good question. I'm not as familiar with how that stuff gets implemented. are you using a "block" or regular AntD components to an AntD form?
boukmi
@boukmi
Just regular AntD actually
Scott Williams
@scott-joe
Things get harder when you're using their higher-order components bc you have to work within their established event/state mgmt. I think you could perform a normal instillation of redux-form with it's connect pattern. I could be wrong though... isn't redux-form's goal to move form data out of the globally managed state?
there's redux or react-final-form now. and I think a react-form-hooks of some sort that'll use react's hooks to manage forms.
I'm not being super helpful, but these are the things I've been looking at for forms.
boukmi
@boukmi
Thank you @scott-joe I'm gonna check your suggestions
Gökhan Çoban
@cobangoo_twitter
Hi, how can I change paddings on Prolayout's Content? I can't give style to Prolayout components. Since I want to change paddings only on a single page, I can't directly set to global less file. What can you suggest?
Gökhan Çoban
@cobangoo_twitter
Since ProLayout is not in our source code (generated with umi) we cannot change it according to our needs
Hamid OUIKENE
@hamid.ouikene_gitlab
Hello, do you guys know how to make the pro side bar collapsed by default?
I couldn't get it to work right when trying to set collapsed for the Sider to default true
Scott Williams
@scott-joe
@cobangoo_twitter I've had the same problem with sub-components for the Pro layout.
jorko95
@jorko95
hi there
i have a little bit problems
i am trying to change the favicon of the top of the browser
if anyone can help me
actually apears Pro black icon, and i want to put my icon.
jorko95
@jorko95
imagen.png
I need to put my favicon on the left side of "Home"
jorko95
@jorko95
hi there. I am trying to filter the access to my web app, using login block, so all the path redirect to the login, unless you access the web app
krecco
@krecco
Hi, could someone help mi with: ant-design/ant-design-pro#5237
boukmi
@boukmi

Hi everyone, is there a way to extend a predefined style from antd?

.crazy_container{
    .crazy_btn{
        &:extend(.ant-btn .ant-btn-primary all);
        padding: 30px;
    }
}
<Button className={style.crazy_btn}></Button>

But this seems not having effect.

I've searched around for this but can't find any good result.
Thank you all
madbbb
@madbbb
hello. How do I set up prettier on vscode to lint errors that lint-staged finds on precommit?
Anuruddha Thennakoon
@anuruddha-thennakoon
Hello, How can I translate the ProTable option text. These are default tooltips.
Anwar Chakhar
@AnwarChakhar
image.png
Hi everyone, anyone had issues when first importing antd pro ?
I'm using webpack and it seems related to how less files are imported. Antd is already in usage in the project and everything was fine until adding pro-layout
Anwar Chakhar
@AnwarChakhar
anyone using antd-pro as external library and webpack ?
Geoffrey Cambefort
@gcambefort
Hi AntD Pro developers :)
偏右
@afc163
🔥 New Charting Library G2Plot 1.0 is released! https://twitter.com/AntDesignUI/status/1240125806774542336
Skormzy
@Skormzy
Hi Everyone, I'm a beginner developer and was hoping to use Ant-design and G2Plot, but I noticed a lot of the tutorials aren't in English. Is there an English version or should the code snippets be enough to understand what to do?
RoXoM
@xyy94813

Hi everyone.

Is there any solution to resolve performance problem of sider menu when menu data is too much.

I think the reason is use too many animation(by use transition: all).
Should i override all transition???

Is there anyone have same problem???
How did you resolve it?