A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vuex/issues/731 below:

[vuex] already installed. Vue.use(Vuex) should be called only once. · Issue #731 · vuejs/vuex · GitHub

Version

2.0.0

Reproduction link

https://jsfiddle.net/15ww4vog/8/

Steps to reproduce
  1. Load jsfiddle page
  2. Vue init method is executed.(With CDN, Just VUE and Jquery)
  3. Vue init method makes a Ajax call to "https://api.myjson.com/bins/13xym3". and responds a HTML, JS injected to #dinamic-container div.
  4. HTML, JS injected also includes a Vue instance.
  5. creating conflicts "[vuex] already installed. Vue.use(Vuex) should be called only once."
What is expected?
  1. Load page, instantiate VUE.
  2. When a page is injected and includes a VUE instance. load with no conflicts.
What is actually happening?
  1. Load page, instantiate VUE.
  2. When page is injected and includes a VUE instance. a conflict is raised and show the "[vuex] already installed. Vue.use(Vuex) should be called only once." console error.

My parent view is loading Vue instance.
and I'm injecting a Child view that also contains its own Vue instance.

jericopulvera, f1729, tigeryzx and gluons


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4