Scrivito Follow on Twitter
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-follow-on-twitter
Import the widget in your javascript src/Widgets/index.js
.
Add this line to your index.js:
;
Add the following lines to your '_headersCsp.json' in the public directory of your Scrivito App:
"script-src": ,
Features
A follow me on Twitter button which also shows the total number of followers.
Widget properties
In the widget properties you can set:
- The Twitter name e.g. "scrivito"