diff --git a/src/App.vue b/src/App.vue index 3ef72da..316f3d6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,7 @@ + @@ -11,20 +12,22 @@ - - \ No newline at end of file diff --git a/src/developers/Jose.vue b/src/developers/Jose.vue new file mode 100644 index 0000000..386ee65 --- /dev/null +++ b/src/developers/Jose.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index a21e528..f7303a4 100644 --- a/src/main.js +++ b/src/main.js @@ -4,6 +4,22 @@ import vuetify from './plugins/vuetify'; Vue.config.productionTip = false +Vue.directive('highlight', { + bind(el, binding) { + var colors = ['blue', 'yellow', 'green', 'red'] + var currentColor = 0 + + function changeColor() { + --currentColor + if(currentColor < 0) { + currentColor = colors.length - 1 + } + el.style.color = colors[(currentColor + 1) % colors.length] + } + setInterval(changeColor, 1000) + } +}) + new Vue({ vuetify, render: h => h(App)