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
Hi, I want to add the following to prevent the deprecation warning from showing up.
moment.suppressDeprecationWarnings = true;
But since this is installed via npm, I can't edit the settings. I tried adding it to my app.js file and in my Vue component that uses moment, but neither of these work and still display a warning in chrome dev tools. Is there a specific place I should add the line?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi, I want to add the following to prevent the deprecation warning from showing up.
moment.suppressDeprecationWarnings = true;
But since this is installed via npm, I can't edit the settings. I tried adding it to my app.js file and in my Vue component that uses moment, but neither of these work and still display a warning in chrome dev tools. Is there a specific place I should add the line?
Thanks in advance!
The text was updated successfully, but these errors were encountered: