Ad

Polaris Shopify Error When I Import Style.css

- 1 answer

I get a compilation error when I import "@shopify/polaris/styles.css";

This is a picture of the error: enter image description here

But whenever I go in to the styles.css, and do a search for the line that errors out, it doesn't find it so it seems like as though that line doesn't exist. Any help would be great. Thanks!

Ad

Answer

This was a known issue as detailed on the following issue:

https://github.com/Shopify/polaris/issues/441

Upgrade to the next version (3.0.0-RC3) and it should be fine

Ad
source: stackoverflow.com
Ad