0.2.0 • Published 5 years ago

vca-widget-emoto v0.2.0

Weekly downloads
2
License
AGPL-3.0-or-later
Repository
github
Last release
5 years ago

vca-widget-emoto

npm vue2

Implements a widget to integrate Emoto into Viva con Aguas Pool².

Installation

npm install --save vca-widget-emoto

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'
import { EmotoButton } from 'vca-widget-emoto'

export default {
  name: 'App',
  components: { EmotoButton }
}

Inside your template:

<template>
  <div id="app">
    <EmotoButton />
  </div>
</template>

Browser

<!-- Include after Vue -->
<!-- Local files -->
<link rel="stylesheet" href="vca-widget-emoto/dist/vca-widget-emoto.css"></link>
<script src="vca-widget-emoto/dist/vca-widget-emoto.js"></script>

<!-- From CDN -->
<link rel="stylesheet" href="https://unpkg.com/vca-widget-emoto/dist/vca-widget-emoto.css"></link>
<script src="https://unpkg.com/vca-widget-emoto"></script>

Development

Launch visual tests

npm run serve

Build

Bundle the js and css of to the dist folder:

npm run lib

Publishing

The prepublish hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.

# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it 🚀
npm publish

License

0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago