cleaning
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import { Button, Select, Tag, Option, Table, FormItem, Card, Row, Col, Upload, Checkbox,
|
||||
Form, Tabs, TabPane, Switch, Input, Loading, TimeSelect, Badge, ButtonGroup, Divider, Step, Steps,
|
||||
TableColumn, ColorPicker, Pagination, Popover, Tooltip, Dialog, Calendar, Carousel, CarouselItem,
|
||||
TableColumn, ColorPicker, Pagination, Popover, Tooltip, Dialog,
|
||||
Container, Footer , Timeline, TimelineItem, Menu, MenuItem } from 'element-ui'
|
||||
import localeEn from 'element-ui/lib/locale/lang/en'
|
||||
import localeIt from 'element-ui/lib/locale/lang/it'
|
||||
@@ -16,11 +16,8 @@ export default () => {
|
||||
Vue.use(Checkbox)
|
||||
Vue.use(Upload)
|
||||
Vue.use(ButtonGroup)
|
||||
Vue.use(Calendar)
|
||||
Vue.use(Row)
|
||||
Vue.use(Col)
|
||||
Vue.use(Carousel)
|
||||
Vue.use(CarouselItem)
|
||||
Vue.use(Badge)
|
||||
Vue.use(Dialog)
|
||||
Vue.use(Menu)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
// TOFIX: not needed in any case (eg. embed)
|
||||
export default async ({ store, $axios }) => {
|
||||
// const now = new Date()
|
||||
// const events = await $axios.$get(`/event/${now.getMonth()}/${now.getFullYear()}`)
|
||||
// store.commit('setEvents', events)
|
||||
// const { tags, places } = await $axios.$get('/event/meta')
|
||||
// store.commit('update', { tags, places })
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// // ~/plugins/vuex-persist.js
|
||||
// import VuexPersistence from 'vuex-persist'
|
||||
|
||||
// export default ({ store }) => {
|
||||
// const per = new VuexPersistence({
|
||||
// reducer: state => ({ logged: state.logged, user: state.user, token: state.token })
|
||||
// }).plugin(store)
|
||||
// store.dispatch('login')
|
||||
// }
|
||||
Reference in New Issue
Block a user