You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line 20 change the Vue.config.performance from true to false to switch between normal behavior and the issue behavior.
Steps to reproduce
Attempting to register a Vuex module in a beforeCreate or created hook, with the performance option set to true, will prevent Vue from rendering.
What is Expected?
If the fiddle executes correctly the following text should be displayed.
Hello from default module
Hello from registered module
What is actually happening?
Uncaught DOMException: Failed to execute 'measure' on 'Performance': The mark 'vue-perf-init' does not exist.
TypeError: Cannot read property '$options' of undefined
Other
Some quick messing about I've found that this bug was introduced sometime after 2.2.1.
The text was updated successfully, but these errors were encountered:
Vue.js version
2.2.4
Reproduction Link
https://jsfiddle.net/1o3hj0ca/
On line 20 change the
Vue.config.performance
fromtrue
tofalse
to switch between normal behavior and the issue behavior.Steps to reproduce
Attempting to register a Vuex module in a
beforeCreate
orcreated
hook, with theperformance
option set totrue
, will prevent Vue from rendering.What is Expected?
If the fiddle executes correctly the following text should be displayed.
What is actually happening?
Other
Some quick messing about I've found that this bug was introduced sometime after 2.2.1.
The text was updated successfully, but these errors were encountered: