atst/js/index.js
2018-08-07 15:43:03 -04:00

27 lines
462 B
JavaScript

import classes from '../styles/atat.scss'
import Vue from 'vue/dist/vue'
import textinput from './components/text_input'
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,
}
}
}
})