2.5.2
https://lucasleandro1204.github.io/vue-content-loading
Our primary users wont be having the latest phones and I see that sample Vue apps simply don't render on IOS (7.1.2) Safari => IPHONE-4.
Reproduction:
The vue demo here does not render on IOS 7.1.2
https://lucasleandro1204.github.io/vue-content-loading
But the equivalent React component does:
https://danilowoz.github.io/react-content-loader/
I have seen the same with other Vue apps also.
Please advise.
To see the app rendered
Seeing a blank page
Please find attached a reproduction folder. Run a local server using something like python -m SimpleHTTPServer and view on your device.
dist.zip
Most likely because you are missing a Promise polyfill
On Sat, Oct 28, 2017, 3:18 PM Imran Nazir notifications@github.com wrote:
Please find attached a reproduction folder. Run a local server using
something like python -m SimpleHTTPServer and view on your device.
dist.zip https://github.com/vuejs/vue/files/1424255/dist.zip—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue/issues/6948#issuecomment-340190280, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAefXsKDyaeS6hYpl7tz9Y5dmLFgflIeks5swymZgaJpZM4QJ7sd
.
Hi Evan, Many thanks for responding. In response to your reply I added:
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.js"></script>
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.js"></script>
just after the <body> tag and then just before the closing <body> tag. Neither had any effect.
The repo I am looking at is https://github.com/stefanpenner/es6-promise which actually seems to be a Vue dev dependency;
It seems that the template was not built with older browsers in mind. My users are not likely to have the latest phones so it's important to at least have some backward compatibility. Please advise.
Again many thanks for responding :+1:
Can you reproduce the problem in a minimal jsfiddle or an html page (with no dependencies to other packages than vue, please)
Note to self: older browsers need babel-polyfill to add es6 features to the window.
Most helpful comment
Note to self: older browsers need babel-polyfill to add es6 features to the window.