atst/js/index.js
2018-08-07 13:42:29 -04:00

29 lines
489 B
JavaScript

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