Skip to content
Widget for sails-social-feed in Vue.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
config
reference
src
static
test
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.jsbeautifyrc
.nvmrc
.postcssrc.js
.snyk
README.md
index.html
index2.html
package-lock.json
package.json

README.md

shoutbox-widget

Shoutbox widget in Vue.js

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8082
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

USAGE

Include in html

<div id="shoutbox" class="box EXPANDDIRECTION" data-shoutbox-name="STREAM_MACHINE_NAME">
  <app id="shoutbox-widget" title="Shoutbox"/>
</div>
  • EXPANDDIRECTION - can be left or right, default: left
  • STREAM_MACHINE_NAME - name of the stream in social feed backend

Link js files

<script type="text/javascript" src="path/to/script/shoutbox.js"></script>

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

LICENSE

Czech Radio logo (c) Český Rozhlas.

You can’t perform that action at this time.