Email Verificata !
This commit is contained in:
5
src/plugins/axios.js
Normal file
5
src/plugins/axios.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import axios from 'axios'
|
||||
|
||||
export default ({ Vue }) => {
|
||||
Vue.prototype.$axios = axios
|
||||
}
|
||||
@@ -4,14 +4,14 @@ import messages from 'src/i18n';
|
||||
|
||||
export default ({ app, store, Vue }) => {
|
||||
Vue.use(VueI18n);
|
||||
Vue.config.lang = 'it';
|
||||
Vue.config.lang = process.env.LANG_DEFAULT;
|
||||
|
||||
console.log("PLUGINS INIT....");
|
||||
|
||||
// Set i18n instance on app
|
||||
app.i18n = new VueI18n({
|
||||
locale: 'it',
|
||||
fallbackLocale: 'it',
|
||||
locale: process.env.LANG_DEFAULT,
|
||||
fallbackLocale: process.env.LANG_DEFAULT,
|
||||
messages
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user