csstools / postcss-short

Use advanced shorthand properties in CSS
https://jonathantneal.github.io/postcss-short
Creative Commons Zero v1.0 Universal
189 stars 7 forks source link

Vue-loader "Invalid CSS after..." #16

Closed WebTravel closed 6 years ago

WebTravel commented 6 years ago

Hi. Thanks for your plugin. However I can't use is my vuejs project. My config:


{
        test: /\.vue$/,
        loader: 'vue-loader',
        options: {
           postcss: {
    options: {
      plugins: [
        require('postcss-preset-env')({
          autoprefixer: {
            grid: true,
          },
          browsers: ['last 2 version'],
        }),
        require('postcss-short')(),
      ],
    },
  }
        },
}```,

It doesn't work
jonathantneal commented 6 years ago

I’m not sure the cause, but this plugin and its dependencies need to be updated to work with PostCSS v7.

jonathantneal commented 6 years ago

I’ve updated all of the plugins.