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

Vue autoprefixer fix #71

Closed
msacchetti opened this issue Apr 18, 2018 · 1 comment
Closed

Vue autoprefixer fix #71

msacchetti opened this issue Apr 18, 2018 · 1 comment
Labels
Milestone

Comments

@msacchetti
Copy link

msacchetti commented Apr 18, 2018

It looks like autoprefixer isnt working in single file Vue components. I got it working by changing the build/rules/vue.js to

const config = require('../app.config')

module.exports = {
  test: /\.vue$/,
  loader: 'vue-loader',
  options: {
    loaders: {
      scss: 'vue-style-loader!css-loader!sass-loader',
      sass: 'vue-style-loader!css-loader!sass-loader?indentedSyntax'
    },
    postcss: [
      require('autoprefixer')(config.settings.autoprefixer),
    ]
  }
}
@jedrzejchalubek
Copy link
Collaborator

jedrzejchalubek commented May 29, 2018

Confirm. Fixed with e78ed6d. Thanks.

jedrzejchalubek added a commit that referenced this issue Aug 16, 2018
alexranc pushed a commit to alexranc/ranc-starter-theme that referenced this issue Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants