vuejs / babel-plugin-transform-vue-jsx

babel plugin for vue 2.0 jsx
1.85k stars 132 forks source link

Style compatibility with same key #128

Closed cristovao-trevisan closed 6 years ago

cristovao-trevisan commented 6 years ago

Sometimes it's needed to set two styles for the same key, example:

.flex-box {
  display: -webkit-flex; /* Safari */
  display: flex;
}

It would be nice to have a way to do this without css, example:

const myStyle = {
  display: ['-webkit-flex',  'flex']
}
cristovao-trevisan commented 6 years ago

Closed because it has been solved in the lastest version