Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat(snippet): add the Snippet component to the InstantSearch plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed Apr 4, 2017
1 parent f62c78c commit 26483b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vue-instantsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"vue-instantsearch-store": "*",
"vue-instantsearch-highlight": "*",
"vue-instantsearch-snippet": "*",
"vue-instantsearch-input": "*",
"vue-instantsearch-results": "*",
"vue-instantsearch-stats": "*",
Expand Down
4 changes: 4 additions & 0 deletions packages/vue-instantsearch/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import AisStore from 'vue-instantsearch-store'
import AisHighlight from 'vue-instantsearch-highlight'
import AisSnippet from 'vue-instantsearch-snippet'
import AisInput from 'vue-instantsearch-input'
import AisResults from 'vue-instantsearch-results'
import AisStats from 'vue-instantsearch-stats'
Expand All @@ -17,6 +18,7 @@ import AisPoweredBy from 'vue-instantsearch-powered-by'
const InstantSearch = {
AisStore,
AisHighlight,
AisSnippet,
AisInput,
AisResults,
AisStats,
Expand All @@ -34,6 +36,7 @@ const InstantSearch = {
install (Vue) {
Vue.component('ais-store', AisStore)
Vue.component('ais-highlight', AisHighlight)
Vue.component('ais-snippet', AisSnippet)
Vue.component('ais-input', AisInput)
Vue.component('ais-results', AisResults)
Vue.component('ais-stats', AisStats)
Expand Down Expand Up @@ -61,6 +64,7 @@ export default InstantSearch
export {
AisStore,
AisHighlight,
AisSnippet,
AisInput,
AisResults,
AisStats,
Expand Down

0 comments on commit 26483b6

Please sign in to comment.