Skip to content

Commit

Permalink
fix: prepend the class names to data.staticClass
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Apr 7, 2018
1 parent 367236e commit 277423f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function createElement(_) {
}

if ((binding ? context[binding] : true) && styles[className]) {
data.staticClass += ` ${styles[className]}`
data.staticClass = `${styles[className]} ${data.staticClass}`
data.staticClass = data.staticClass.trim()
}

Expand Down

0 comments on commit 277423f

Please sign in to comment.