.env.production file eliminated ! (-> .env)

.env.production worked in local
added myconfig
messagepopup working (but not ready yet)
added Graphql (only module)
This commit is contained in:
Paolo Arena
2018-12-26 21:02:16 +01:00
parent e41eeb43ca
commit 7a217c3ca9
42 changed files with 430 additions and 657 deletions

View File

@@ -17,8 +17,6 @@
</template>
<script lang="ts">
import Vue from "vue"
import { Store } from "vuex"
import { sync } from 'vuex-router-sync'
import { Component } from 'vue-property-decorator'
import { EventBus, RootState, storeBuilder, DebugMode } from '@store'
import router from "./router"
@@ -35,11 +33,19 @@
router
})
export default class App extends Vue {
backgroundColor = 'whitesmoke'
public backgroundColor = 'whitesmoke'
created() {
//this.title = 'My Vue and CosmosDB Heroes App'
// console.info(process.env)
if (process.env.DEV){
console.info("SESSIONE IN SVILUPPO ! (DEV)")
console.info(process.env)
}
if (process.env.PROD){
console.info("SESSIONE IN PRODUZIONE!")
console.info(process.env)
}
UserStore.mutations.autologin()
}
}