0👍
I’ve managed to solve this problem by adding in main.js
this line, right after importing store:
import store from './store'
Vue.prototype.$store = store
- [Vuejs]-Default NGINX page loading after deploying to remote server
- [Vuejs]-How to call vue.js method in in side template tag and show method return data
Source:stackexchange.com