Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoli committed Oct 23, 2022
1 parent 1bfd685 commit f33527a
Show file tree
Hide file tree
Showing 12 changed files with 683 additions and 9,066 deletions.
2 changes: 0 additions & 2 deletions data-experience/.env

This file was deleted.

16 changes: 3 additions & 13 deletions data-experience/dev/main.js
@@ -1,24 +1,13 @@
import Vue from 'vue'
import App from './App.vue'
import store from './store'
import DataExperience, { vuetify } from '@/main'
import DataExperience, { vuetify, vueI18n } from '@/main'
import VueRouter from 'vue-router'

// https://v2.vuejs.org/v2/guide/plugins.html#Writing-a-Plugin
const i18nPlugin = {
install: function(Vue) {
Vue.prototype.$tev = key => key
Vue.prototype.$tet = key => key
Vue.prototype.$te = key => key
Vue.prototype.$t = key => key
Vue.prototype.$i18n = { $t: key => key, $te: key => key }
}
}
Vue.use(i18nPlugin)

// https://stackoverflow.com/questions/40816966/how-to-use-vue-router-in-vue-2
Vue.use(VueRouter)
const router = new VueRouter({
mode: 'history',
routes: []
})

Expand All @@ -27,6 +16,7 @@ Vue.use(DataExperience, { store })
Vue.config.productionTip = false

new Vue({
i18n: vueI18n,
vuetify,
router,
store,
Expand Down

0 comments on commit f33527a

Please sign in to comment.