committed by
Henrique Dias
parent
208f21728f
commit
157b2da133
@@ -43,6 +43,12 @@ Vue.prototype.$showError = function (error) {
|
||||
n.show()
|
||||
}
|
||||
|
||||
Vue.directive('focus', {
|
||||
inserted: function (el) {
|
||||
el.focus()
|
||||
}
|
||||
})
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
||||
Reference in New Issue
Block a user