Skip to content

Add documentation for integrating with css-in-js libraries like MUI #39

@heath-freenome

Description

@heath-freenome

Is your feature request related to a problem? Please describe.

I'm trying to use vitest-preview in tests with MUI component and I'm not seeing the styling being picked up. Since MUI is a css-in-js style system, I was wondering if you can provide directions on how to get the preview to pick up the styles. We are using the emotion way of styling. Setting the css: true flag didn't make a difference

Describe the solution you'd like

Just some documentation on how to integrate a css-in-js styling system like emotion/mui into vitest-preview.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions