Vue.js On Safari 5.0.6
I've updated my Webpage with some new features using Vue.js. The problem comes when some computers in my office doesn't work as expected, as far as I'm concerned Safari is compatible with ecmascript 5 and that should be enough to run the page as it's supposed. Unfortunately it doesn't. Properties are set up as it should, v-show works fine, even transitions. But properties aren't being rendered on the page... To clarify, I'm talking about the ones that should be replaced in the Vue templates:
<box_example>
<span> {{ a_property }}</span>
</box_example>
a_property is never shown while in other browsers works as expected. Can anyone tell me why is this happening? Which is the dependency that makes it fail? Maybe I could shim it or at least detect that functionality lack and then redirect to an older javascript.
Answer
Well, issues solved also in Safari 5.0.6 using v-text
or v-html
in the elements instead of the special quotation {{ }} or {{{ }}}.
Seem like using v-text/v-html allows a wider range of browsers. Could be useful to someone :-)
Related Questions
- → should I choose reactjs+f7 or f7+vue.js?
- → Get the calling element with vue.js
- → Vue.js - Binding radio elements of same name to array
- → Get data from DB based on selected values. Vue.js + laravel
- → Vuejs IF statement
- → VueJS set Input field data
- → How do I use vue-resource v-links inside a vueify component?
- → Export more than one variable in ES6?
- → How create a todo list with octobercms?
- → Using vue.js in Shopify liquid templates
- → Apply a discount using VueJS and Laravel
- → Laravel 5.2 CORS, GET not working with preflight OPTIONS
- → Vue @click doesn't work on an anchor tag with href present