Improve with-ant-design example
See original GitHub issueIt will be great to have customzing default theme sample in ant-design example
Expected Behavior
The way how to do it is described in offical docs And there is link to more informative article on medium
Current Behavior
Now we have ant-design example with default theme
Steps to Reproduce (for bugs)
I followed the article, but in the end my app is not compiled:
SyntaxError: Invalid or unexpected token
I have created repository based on with-ant-design example with config similar to medium article
Need some help with understanding this error and how can I solve it
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Improve example of with-ant-design-less · Issue #4582 - GitHub
Bug report Describe the bug The with-ant-design-less example is lack off hot reloading and client-side rendering for css To Reproduce Steps ...
Read more >Build a React App with ANT Design Principles - Okta Developer
In this tutorial, you will build a small React app that displays transactions to the user based on the Ant Design principles.
Read more >Styling with Ant Design - TinyHouse: A Fullstack React ...
In this lesson, we'll introduce and use the Ant Design React UI framework to improve the appearance of our client application. Lesson ·...
Read more >How to make a responsive grid, using Ant Design?
I want to make the boxes break into one column for small screens, just like the follow examples. ... Improve this question.
Read more >Managing File Uploads in React with Ant Design
By wrapping our Upload component in getFieldDecorator , we can pass parameters to our input for improved form handling. As you can see...
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
I’ve been using antd with custom themes taking some config from with-global-stylesheet example.
I set up a repo so you can check my current config: https://github.com/aoc/with-ant-design-custom-theme
hope it helps
how about importing components on demand ?
https://ant.design/docs/react/use-with-create-react-app#Use-babel-plugin-import