how to create a global variable in vue code example
Example: how to create a global variable in vue
// in main =.js
Vue.prototype.$appName = 'My App'
////in components
console.log(this.$appName)
// in main =.js
Vue.prototype.$appName = 'My App'
////in components
console.log(this.$appName)