.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

@@ -0,0 +1,7 @@
// import something here
import errorHandler from '../error-handler'
// leave the export, even if you don't use it
export default ({ app, router, Vue }) => {
// something to do
Vue.prototype.$errorHandler = errorHandler
}

View File

@@ -6,7 +6,7 @@ export default ({ app, store, Vue }) => {
Vue.use(VueI18n);
Vue.config.lang = process.env.LANG_DEFAULT;
console.log("PLUGINS INIT....");
// console.log("PLUGINS INIT....");
//console.log("LANG_DEFAULT: ")
//console.log(process.env.LANG_DEFAULT)

View File

@@ -0,0 +1,7 @@
// import something here
import { _LocalStorage } from '../boot/local-storage'
// leave the export, even if you don't use it
export default ({ app, router, Vue }) => {
// something to do
Vue.prototype.$_localStorage = _LocalStorage
}

9
src/plugins/myconfig.js Normal file
View File

@@ -0,0 +1,9 @@
// import something here
import myconfig from '../myconfig'
// leave the export, even if you don't use it
export default ({ Vue }) => {
//Vue.use(myconfig);
// something to do
Vue.prototype.$myconfig = myconfig
}