refactoring

This commit is contained in:
Philipp Kühn
2018-08-22 13:18:23 +02:00
parent 8c72e01372
commit 3668a59455
3 changed files with 1 additions and 19 deletions

View File

@@ -8,20 +8,6 @@ svgSpriteLoader(__svg__.filename)
Vue.config.productionTip = false
Vue.mixin({
methods: {
modifierClasses(base, modifier = this.modifier) {
const classList = [modifier].flatten()
if (classList.length === 0) {
return null
}
return `${base}--${classList.join(` ${base}--`)}`
},
},
})
new Vue({
render: h => h(App),
}).$mount('#app')