Manca di includere il file .env
This commit is contained in:
4
src/@types/quasar/index.d.ts
vendored
4
src/@types/quasar/index.d.ts
vendored
@@ -10,8 +10,8 @@ declare module 'quasar' {
|
||||
|
||||
declare module 'quasar/types' {
|
||||
import Vue, { VueConstructor, ComponentOptions } from 'vue'
|
||||
import VueRouter from 'vue-router';
|
||||
import { Store } from 'vuex';
|
||||
import VueRouter from 'vue-router'
|
||||
import { Store } from 'vuex'
|
||||
|
||||
export interface QuasarSsrContext {
|
||||
req: {
|
||||
|
||||
@@ -43,8 +43,6 @@
|
||||
import { Component, Vue, Watch, Prop } from 'vue-property-decorator'
|
||||
import { GlobModule } from '@/store/modules/glob'
|
||||
|
||||
//import { Notify } from 'quasar'
|
||||
|
||||
@Component({})
|
||||
export default class Login extends Vue {
|
||||
text = ''
|
||||
@@ -71,15 +69,12 @@
|
||||
|
||||
set conta(valore) {
|
||||
GlobModule.setConta(valore)
|
||||
var my = process.env.LANG_DEFAULT;
|
||||
this.showNotification(String(my));
|
||||
}
|
||||
|
||||
mounted() {
|
||||
console.log("mounted")
|
||||
}
|
||||
|
||||
|
||||
showNotification() {
|
||||
this.$q.notify('Some other message')
|
||||
showNotification(msg:string) {
|
||||
this.$q.notify(msg)
|
||||
}
|
||||
|
||||
initprompt() {
|
||||
|
||||
@@ -8,6 +8,9 @@ export default ({ app, store, Vue }) => {
|
||||
|
||||
console.log("PLUGINS INIT....");
|
||||
|
||||
console.log("LANG_DEFAULT: ")
|
||||
console.log(process.env.LANG_DEFAULT)
|
||||
|
||||
// Set i18n instance on app
|
||||
app.i18n = new VueI18n({
|
||||
locale: process.env.LANG_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user