-->

Angular 7 - Autoprefixer not working with CSS Grid

2019-08-10 01:40发布

问题:

I am trying to get Angular7 working nicely with the Autoprefixer. I'm specifically looking to get support on IE11. I've removed the "not" from "IE 9 - 11" in the browserlist file. I've also added

/* autoprefixer grid: autoplace / / autoprefixer grid: on */

To the top of my _grid.scss file. Problem is grid items are still not getting any prefixes. Flexbox seems to work fine but not CSS grid. Is there any configuration I've missed?

回答1:

I had dependency issues. Ran

npm audit fix

and the issue has been resolved.