atst/js/index.js
2018-08-09 13:49:17 -04:00

31 lines
515 B
JavaScript

import classes from '../styles/atat.scss'
import Vue from 'vue/dist/vue'
import VTooltip from 'v-tooltip'
import textinput from './components/text_input'
Vue.use(VTooltip)
const app = new Vue({
el: '#app-root',
components: {
textinput
},
methods: {
closeModal: function(name) {
this.modals[name] = false
},
openModal: function (name) {
this.modals[name] = true
}
},
data: function() {
return {
modals: {
styleguideModal: false,
}
}
}
})