Essentials Installing the library

Edit this page

Installing the library

Vue InstantSearch is available through npm or as a standalone file to be used in a <script> tag.

Via npm

$ npm install vue-instantsearch@1 --save
# yarn add vue-instantsearch

Using a <script> tag

<script src="https://cdn.jsdelivr.net/npm/vue-instantsearch@1.7.0/dist/vue-instantsearch.js"></script>

Have a look at how to use the standalone UMD build in our codepen example: codepen.io/rayrutjes/pen/BRgyGV.

The standalone Vue InstantSearch file is a UMD build, which means it should work in any browser and website combination.