Skip to content

CSS Overriding Issue When Using Tailwindcss with React and Vite #261

Answered by webJose
aliinnov8s asked this question in Q&A
Discussion options

You must be logged in to vote

What's the definition of "core project"? In single-spa, we have root projects and MFE projects. Is "core project" == "root project"?

Generally speaking, you need to make sure that your classes are scoped. React has no CSS scoping solution out of the box, so you'll have to look for a solution, for which I'm sure there are several. Scoped CSS will only affect the user interface for the project it comes from.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aliinnov8s
Comment options

@webJose
Comment options

Answer selected by webJose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants