Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoprefixer Didn't work ? #350

Closed
FeSeason opened this issue Feb 14, 2017 · 2 comments
Closed

autoprefixer Didn't work ? #350

FeSeason opened this issue Feb 14, 2017 · 2 comments

Comments

@FeSeason
Copy link

In file webpack.base.conf.js has code

    loaders: utils.cssLoaders({ sourceMap: useCssSourceMap }),
    postcss: [
      require('autoprefixer')({
        browsers: ['last 2 versions']
      })
    ]
  }

But in Vue component when i use css3 it really not add a prefix ?

<template>
    <div class="taskLog">
        <div class="test">TaskLog</div>
    </div>
</template>
<style scoped>
    .test{
        transform: scale(1.2);
    }
</style>
@posva
Copy link
Member

posva commented Feb 14, 2017

transform doesn't need a prefix in any of 2 last version of browsers: http://caniuse.com/#search=transform
Next time, please, open the issue in the relevant template repo. Thanks 🙂

@posva posva closed this as completed Feb 14, 2017
@ghost
Copy link

ghost commented Jul 21, 2017

   loaders: utils.cssLoaders({ sourceMap: useCssSourceMap }),
    postcss: [
      require('autoprefixer')({
        browsers: ['ie >=9']
      })
    ]
  }

Doesn't work. Doesn't generate any prefixes.
Related backlink: https://stackoverflow.com/questions/45208186/vue-webpack-2-autoprefixer-for-ie9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants