Code Monkey home page Code Monkey logo

nextjs13-with-antd-tailwindcss's Introduction

Using Ant-Design 5 with Next.js 13 and Tailwind CSS

Antd is is an excellent UI component library, but there are some conflicts between the antdV5 and Next.js 13. This repository solved these problems, and you can use the template to start your project.

Features

Problems and solutions

Here are some problems and solutions I encountered when I started the project

  1. Server side rendering and CSS-in-JS antd5 vercel/next.js#44125 (comment)

  2. Distinguish client/server components when using Next.js 13 app directory https://beta.nextjs.org/docs/rendering/server-and-client-components

  3. Priority conflict of css style when using Ant-Design 5 and Tailwind CSS ant-design/ant-design#38794 (comment)

  4. DatePicker component internationalization has not taken effect ant-design/ant-design#27276 (comment)

nextjs13-with-antd-tailwindcss's People

Contributors

hongfaqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nextjs13-with-antd-tailwindcss's Issues

Antd style problems in dark mode

First of all, congratulations for this great job.
There are problems with antd components in dark mode. What could be the reason for this?
Examples:
Primary button is not shown in blue.
The background is not visible in the switch component (if not selected).
image

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.