1.0.19 • Published 4 years ago

vubak v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Vubak

Vubak is a simple Vue component to integrate one-way communication between your app and any Slack channel, and can be used to easily collect user feedback or similar messages from your front end. It uses Slack's Incoming Webhooks app to transmit messages via a simple HTTP post request, and is simple to add to your Slack channel and set up in minutes. Incoming Webhooks image1

Installation

npm install vubak

Import the component:

import Vubak from "vubak/Vubak";

Then declare it:

export default {
  components: {
    Vubak,
  },
...

Now you're ready to use it in the template!

<Vubak />

Configuration

Vubak relies on the following attributes to set it up and style it:

  • url: Your url for Incoming Webhooks url, can be found in the app setting in slack. https://slack.com/apps/manage
  • title: Title text at the top of the component.
  • buttonText: Text for submit button.
  • backgroundStyle/buttonStyle: here you can enter some styling for the component, such as background.
  • titleStyle: style for title.
<Vuback 
    url="<Your Incoming Webhooks url goes here>" 
    title="Provide some Feedback!" 
    buttonText="Send" 
    backgroundStyle="background-color: black;" 
    buttonStyle="background-color: #25c12b;" 
 />

image1

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago