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
Referencing the .css and .js files in the index.html page in a vue.js project keeps throwing this in the console window. Is there a preferred way to include outdatedbrowser in vue.js projects?
Moved the files from within the "node_modules" directory into the "static" directory and everything seems to work fine, but I'll miss out on auto updates. Anyone know why this works under static but not node_modules?
It is all about using static when you want to use outdated-browser. Vue uses babel, old browsers may not use es6 features so Vue ( and other frameworks ) causes some problems.
Activity
jamursch commentedon Jul 17, 2018
Moved the files from within the "node_modules" directory into the "static" directory and everything seems to work fine, but I'll miss out on auto updates. Anyone know why this works under static but not node_modules?
hypeJunction commentedon Dec 14, 2018
I had no luck either. I think the module is not exported properly, so Vue doesn't recognize it as a node module.
gokhantaskan commentedon Mar 11, 2019
It is all about using static when you want to use outdated-browser. Vue uses babel, old browsers may not use es6 features so Vue ( and other frameworks ) causes some problems.
-- Use Static Files