0.3.2 • Published 2 years ago

site-search-360-vue v0.3.2

Weekly downloads
80
License
Apache-2.0
Repository
github
Last release
2 years ago

site search 360 logo

Site Search 360 Vue Component

The Site Search 360 Vue component provides a simple way of adding Site Search 360 to your Vue app.

Installation

If you are using NPM:

npm install site-search-360-vue

If you are using Yarn:

yarn add site-search-360-vue

You can also load the component using a script tag:

<script src="https://unpkg.com/site-search-360-vue@latest"></script>

Usage

To add Site Search 360 (search box and a search button) to your site, use the SiteSearch360 component.

import SiteSearch360 from 'site-search-360-vue';

<SiteSearch360 siteId="yoursite.com" />

// OR in vanilla JS

createElement(SiteSearch360, {
	props: {
		siteId: 'yoursite.com'
	}
})

Make sure to use your siteId to connect the search to your account. The value of the siteId prop can be found under Account > Profile after signing up to Site Search 360.

Props

siteId (String)

The Site ID of your Site Search 360 account. This setting can also be set in the ss360Config prop.

ss360Config (Object)

Site Search 360 configuration object. See the Site Search 360 installation docs for more details.

showButton (Boolean)

Whether to display a search button. Default: true

applyStyling (Boolean)

Whether to apply default styling to the search input. Default: true

0.3.2

2 years ago

0.3.1

2 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.1-beta.2

3 years ago

0.2.1-beta.3

3 years ago

0.2.1-beta.0

3 years ago

0.2.1-beta.1

3 years ago

0.2.1-beta.4

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1-security

4 years ago