Skip to content

Viva-con-Agua/upsweep-frontend

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published