Primo Committ

This commit is contained in:
paolo
2018-10-12 16:42:54 +02:00
commit a2673c0502
69 changed files with 13197 additions and 0 deletions

0
src/plugins/.gitkeep Normal file
View File

View File

@@ -0,0 +1,7 @@
// import something here
import Vuelidate from 'vuelidate'
// leave the export, even if you don't use it
export default ({ app, router, Vue }) => {
Vue.use(Vuelidate);
}

17
src/plugins/i18n.js Normal file
View File

@@ -0,0 +1,17 @@
// src/plugins/i18n.js
import VueI18n from 'vue-i18n';
import messages from 'src/i18n';
export default ({ app, store, Vue }) => {
Vue.use(VueI18n);
Vue.config.lang = 'it';
console.log("PLUGINS INIT....");
// Set i18n instance on app
app.i18n = new VueI18n({
locale: 'it',
fallbackLocale: 'it',
messages
})
}