Task for vuejs-workshop
See a live demo.
npm install
npm start
The HTTP client for Vue.js (Doc)
https://cdnjs.cloudflare.com/ajax/libs/vue-resource/1.5.1/vue-resource.min.js
https://api.teleport.org/api/cities/?search=
API | Description | Auth | HTTPS | CORS |
---|---|---|---|---|
Teleport | Quality of Life Data | No | Yes | Unknown |
https://www.google.com.ua/maps/place/
highlightedVal: function (value) {
if (value) {
var regEx = new RegExp(this.query, 'i'),
foundValue = value.match(regEx);
return value.replace(foundValue, '<strong class="highlight">' + foundValue + '</strong>');
} else {
return value;
}
}
Vue.js devtools for Chrome - Link
Vue.js quick doc access:
Tthe MIT License. See the bundled LICENSE file for details.