LoginSignup
0
0

More than 1 year has passed since last update.

AutoPrefixerメモ

Posted at

これでいけませんか?

ターミナル
npm install postcss-cli autoprefixer -D
package.json
"browserslist": [
    "last 2 versions",
    "> 1% in JP",
    "ie >= 11", 
    "Android >= 4",
    "ios_saf >= 8"
]
package.json(※Scripts部分に)
"scripts": {
    "postcss": "postcss css/style.css --use autoprefixer --dir css/ --watch"
}
_reset.scss
/* autoprefixer grid: autoplace */
ターミナル
npm run postcss

Sassを編集するとDartJSが走ってcssが更新される

cssが更新させるとAutoPrefixerが走る

流れ的にはこんな感じです。
現状IEのGridには対応できないみたいです。エラーはおそらくそれです。

現状Glupに移行が濃厚な気もします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0