vca-upsweep

Implements a comment section for POOL²

Usage no npm install needed!

<script type="module">
  import vcaUpsweep from 'https://cdn.skypack.dev/vca-upsweep';
</script>

README

vca-upsweep

vue2

Implements comment section.

Installation

npm install --save vca-upsweep

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'
import { UpsweepView } from 'vca-upsweep'
import 'vca-upsweep/dist/vca-upsweep.css'

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

Inside your template:

<template>
  <div id="app">
    <UpsweepView poolEventId=""></UpsweepView>
  </div>
</template>

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