Hi There! Plugin
Plugin installation
Plugin is served from NPM: https://www.npmjs.com/package/hi-there-plugin JSDelivr provides the CDN. Latest code is available at: https://cdn.jsdelivr.net/npm/hi-there-plugin/dist/hi-there-plugin.min.js
Adding Plugin to your webpage
Add the following element to your HTML body:
<hi-there-plugin api="[API Key]" id="[Account Id]"></hi-there-plugin>
At the bottom of the page add the following script tag:
<script type="application/javascript" src="https://cdn.jsdelivr.net/npm/hi-there-plugin/dist/hi-there-plugin.min.js"></script>
Project development setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Project versioning
npm version <update_type>
(Utilizes NPM's semantic versioning, more here: https://docs.npmjs.com/updating-your-published-package-version-number)
npm publish
(Can only be done from authorized master account)