-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
Vue.js version
2.2.4
Reproduction Link
https://jsfiddle.net/1o3hj0ca/
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.