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

Commit

Permalink
feat(components): add powered by support
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed Mar 24, 2017
1 parent 5fc1915 commit 1f750b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue-algolia-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"vue-algolia-rating-facet": "*",
"vue-algolia-no-results": "*",
"vue-algolia-search-facet": "*",
"vue-algolia-price-range-facet": "*"
"vue-algolia-price-range-facet": "*",
"vue-algolia-powered-by": "*"
},
"peerDependencies": {
"vue": "^2.2.2"
Expand Down
4 changes: 4 additions & 0 deletions packages/vue-algolia-components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import RatingFacet from 'vue-algolia-rating-facet'
import NoResults from 'vue-algolia-no-results'
import SearchFacet from 'vue-algolia-search-facet'
import PriceRangeFacet from 'vue-algolia-price-range-facet'
import AlgoliaPoweredBy from 'vue-algolia-powered-by'

const Algolia = {
SearchStore,
Expand All @@ -26,6 +27,7 @@ const Algolia = {
NoResults,
SearchFacet,
PriceRangeFacet,
AlgoliaPoweredBy,

install (Vue) {
Vue.component('search-store', SearchStore)
Expand All @@ -41,6 +43,7 @@ const Algolia = {
Vue.component('no-results', NoResults)
Vue.component('search-facet', SearchFacet)
Vue.component('price-range-facet', PriceRangeFacet)
Vue.component('algolia-powered-by', AlgoliaPoweredBy)
}

}
Expand All @@ -65,3 +68,4 @@ export {RatingFacet}
export {NoResults}
export {SearchFacet}
export {PriceRangeFacet}
export {AlgoliaPoweredBy}

0 comments on commit 1f750b8

Please sign in to comment.