[Calendar] - next.js + TM + antd-design
See original GitHub issueVersion of antd-mobile
5.15.1
Operating system and its version
No response
Browser and its version
102.0.5005.115 (Official Build) (64-bit)
Sandbox to reproduce
No response
What happened?
Calendar doesn’t work, I created a new next.js project and after antd-mobile and TM installed (it needs to avoid CSS global error after installation of antd-mobile) it was broken. Need some help, because I’ve no idea why it happened.
package.json
"dependencies": {
"antd-mobile": "^5.15.1",
"next": "12.1.6",
"next-transpile-modules": "^9.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
},
next.config.js
const withTM = require("next-transpile-modules")(["antd-mobile"]);
const nextConfig = {
reactStrictMode: true,
}
module.exports = withTM(nextConfig);
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Calendar - Ant Design
Container for displaying data in calendar form. When To Use. When data is in the form of dates, such as schedules, timetables, prices...
Read more >How to use Ant Design with Next.js - LogRocket Blog
Integrate Ant Design, an enterprise UI design philosophy for React applications, and Next.js, to build apps more efficiently.
Read more >How to use the Antd Calendar with DayJs - Medium
Antd Calendar with DayJs: In this story, we are using Atnd Calendar & DayJs with the custom component method in the demo NextJs...
Read more >NextJs + Ts + ant design Landing page - Upwork
we want a 1 landing page with 10 components those components need to be as useable as possible. our tech stack is NextJs...
Read more >ReactJS UI Ant Design Calendar Component - GeeksforGeeks
Project Structure: It will look like the following. Project Structure. Example: Now write down the following code in the App.js file. Here, App ......
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 investigated the project you uploaded but sorry that I couldn’t find anything wrong there. It’s really strange. I decided to give up digging further because we’ll rewrite the Calendar component very soon.
I’ll leave this issue open so we can have a check about the new Calendar component later.
Thanks for your feedback.
@miracles1919 @zombieJ Is there any plan to build the new Calendar component?