New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createLocalVue errorHandler Option #1670
createLocalVue errorHandler Option #1670
Commits on Aug 26, 2020
-
refactor(createlocalvue): rename createLocalVue to _createLocalVue
Rename createLocalVue to _createLocalVue to indicate private use
Commits on Aug 27, 2020
-
-
improvement(_createlocalvue): allow registration of user defined config
Allow VueConfig to be passed in via createLocalVue to be registered on the created vue instance
Commits on Aug 28, 2020
-
improvement(find): add findAllParentInstances to the find API
add findAllParentInstances method to traverse a component's parent to find globally registered properties via createLocalVue
-
improvement(mount): pass localVue into mounted createLocalVue
Pass localVue into mounted createLocalVue to register localVue properties on component
-
improvement(error): call user defined errorHandler if defined
Call the user defined errorHandler created on the localVue instance via createLocalVue. This is called in the VTU global error handler
-
improvement(createlocalvue): add tests to createLocalVue errorHandler
add tests to createLocalVue errorHandler to test invocation on sync and async throws
-
-
fix(createlocalvue tests): wrap createLocalVue async test in try/finally
Wrap async error test for createLocalVue errorHandler in try/finally to prevent global errors
-
improvement(find and error): add additional type safety to find & error
Add additional type safety to find and error for older versions of vue that might propagate a vm value of null/undefined