Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default ({Vue, options, router, siteData}) => {
library.add(faPlay, faUndo)
// only load on client side
if (typeof window !== 'undefined') {
const Toasted = require('vue-toasted')
const VueCodemirror = require('vue-codemirror')
require('codemirror/mode/javascript/javascript.js')
Vue.use(Toasted.default)
Vue.use(VueCodemirror)
console.log(InstantSearch)
Vue.component('ais-index', InstantSearch.Index)
Vue.component('ais-search-box', InstantSearch.SearchBox)
Vue.component('ais-highlight', InstantSearch.Highlight)
Vue.component('ais-results', InstantSearch.Results)
}
Vue.component('v-icon', FontAwesomeIcon)
}