Web Component to easily start WhatsApp conversations. It is based on @vaadin/button.
This component is a fork of @open-wa/whatsapp-button.
Online demo here.
npm i @flowingcode/fc-whatsapp-button<fc-whatsapp-button phone="123456" dialcode="44" text="Hello!" label="Contact Us!"></fc-whatsapp-button>-
Fork the
fc-whatsapp-buttonrepository and clone it locally. -
Make sure you have npm installed.
-
When in the
fc-whatsapp-buttondirectory, runnpm installto install dependencies. -
Run
npm startto open the demo.
npm run test-
Make sure to have executed
npm install -
Execute
npx -p parcel npm run buildstatic -
The static site will be generated in /dist
For license terms, see LICENSE.txt.