Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ Available through npm as `vue-typeahead`.
```
npm install --save vue-typeahead
```
> Also, you need to install a HTTP client like [`axios`](https://github.com/mzabriskie/axios).
> Also, you need to install and register an HTTP client like [`axios`](https://github.com/mzabriskie/axios).

## Usage

Register your HTTP client (for example, axios) with Vue.
```
import Axios from 'axios'
Vue.prototype.$http = Axios
```

If you are using `[email protected]+`, you could use the new [`extends`](http://vuejs.org/api/#extends) property (see below).

Otherwise, the `mixins` way also works.
Expand Down