Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ddgll/vue-easteregg


https://github.com/ddgll/vue-easteregg

Last synced: about 1 month ago
JSON representation

Lists

README

        

# VUE3 Version: https://github.com/ddgll/vue3-easteregg

# vue-easteregg

ADD an easter egg to your vue app ;)

``` javascript


{{ title }}
EASTER EGG

import easteregg from '../src/easteregg.vue'

export default {
name: 'app',
data () {
return {
title: 'vue-easteregg',
eggs: [
'easter',
[ 'ArrowUp', 'ArrowDown' ]
]
}
},
components: { easteregg },
methods: {
test () {
if (this.title === 'vue-easteregg') {
this.title = 'EASTER EGGGG !!!!'
} else if (this.title === 'EASTER EGGGG !!!!') {
this.title = 'AGAIN ??'
} else {
this.title = 'vue-easteregg'
}
}
}
}

```