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
{{ message }}
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
I created a very simple Vue SPA using Vue CLI and then added your project using npm.
As soon as I added the following code to the App.vue component, my application was not working on IE11: <ou-button>Create Account</ou-button>
Error in dev console was (sorry for the French language):
SCRIPT438: L’objet ne gère pas la propriété ou la méthode « includes »
vue.runtime.esm.js (3273,7)
But as soon as I have added the polyfill for Array.prototype.includes in index.html, the problem went off: <script src="https://polyfill.io/v2/polyfill.js?features=Array.prototype.includes"></script>
I do not like to add external JS reference, do you mind telling what have I done wrong?
Thank you,
Denis
The text was updated successfully, but these errors were encountered:
I can confirm this issue with my use case. IE11 does not support the "array.prototype.includes" and it appears this implementation requires the use of this function, so you need the polyfill. Alternately, you may want to look at @johannes-z/office-ui-fabric-vue which does not require the polyfill but labeled as 'unstable' at this time.
Hello there,
Thank you for the hard work on this project.
I am trying to build a website in this context:
I created a very simple Vue SPA using Vue CLI and then added your project using npm.
As soon as I added the following code to the App.vue component, my application was not working on IE11:
<ou-button>Create Account</ou-button>
Error in dev console was (sorry for the French language):
But as soon as I have added the polyfill for Array.prototype.includes in index.html, the problem went off:
<script src="https://polyfill.io/v2/polyfill.js?features=Array.prototype.includes"></script>
I do not like to add external JS reference, do you mind telling what have I done wrong?
Thank you,
Denis
The text was updated successfully, but these errors were encountered: