migme-surfboard
v2.0.1
Published
Widget to embed Migme in web apps
Downloads
1
Readme
Surfboard
Widget to bring the Migme fun to web apps.
Installation
NPM
npm install migme-surfboard
Bower
bower install migme-surfboard
CDN
Replace ${VERSION}
with a released version number.
<script src="https://cdn.rawgit.com/migme/surfboard/releases/download/${VERSION}/migme-surfboard.min.js"></script>
Usage
Loading
// ES6
import Surfboard from 'migme-surfboard'
// CommonJS
var Surfboard = require('migme-surfboard')
// AMD
define(['migme-surfboard'], function (Surfboard) {
// ...
})
Initialization
const widget = new Surfboard()
Development
npm install # Install dependencies
npm test # Run tests
gulp browserify # Build
gulp watchify # Build and automatically rebuild when any file changes
Live Demo
npm i -g http-server
http-server
open http://127.0.0.1:8080