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
Hi I'm getting the error: Uncaught ReferenceError: _vue is not defined when using the component...
This is where it fails:
fetch: function() {
var e = this;
if (!this.$http) {
return _vue.util.warn('You need to provide a HTTP client', this) <---
}
if (!this.src) {
return _vue.util.warn('You need to set the src property', this)
}
var t = this.queryParamName ? this.src : this.src + this.query
, n = this.queryParamName ? (0,
_assign2.default)((0,
Any help to solve this would be great.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I ran into this error too. The quickstart guide in the main Readme isn't very clear on this, but you need to do a couple of things to get the component to work. Your main.js file needs to have the TypeAhead component registered with your Vue instance, and the Vue prototype needs to have an "$http" field that points to an instance of Axios or some other browser-side HTTP client.
Hi I'm getting the error: Uncaught ReferenceError: _vue is not defined when using the component...
This is where it fails:
fetch: function() {
var e = this;
if (!this.$http) {
return _vue.util.warn('You need to provide a HTTP client', this) <---
}
if (!this.src) {
return _vue.util.warn('You need to set the
src
property', this)}
var t = this.queryParamName ? this.src : this.src + this.query
, n = this.queryParamName ? (0,
_assign2.default)((0,
Any help to solve this would be great.
Thanks.
The text was updated successfully, but these errors were encountered: