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
Originally posted by LaurentLord January 18, 2024
For compatibility reasons, I have to register my package twice (with different parameters).
As a result, I get this error message: "Component "X" has already been registered in target app.".
However, I can't ignore these errors during development. In other words, my console is polluted by these multiple errors.
Note that warnHandler doesn't catch them.
Is it possible to provide the option of silencing some messages?
// core/packages/runtime-core/src/apiCreateApp.tsif(__DEV__&&context.components[name]){warn(`Component "${name}" has already been registered in target app.`)}
Discussed in #634
Originally posted by LaurentLord January 18, 2024
For compatibility reasons, I have to register my package twice (with different parameters).
As a result, I get this error message: "Component "X" has already been registered in target app.".
However, I can't ignore these errors during development. In other words, my console is polluted by these multiple errors.
Note that warnHandler doesn't catch them.
Is it possible to provide the option of silencing some messages?
Source: https://github.com/vuejs/core/blob/ee4cd78a06e6aa92b12564e527d131d1064c2cd0/packages/runtime-core/src/apiCreateApp.ts#L278
Thanks
The text was updated successfully, but these errors were encountered: