1.0.7 • Published 7 years ago
scrivito-follow-on-twitter v1.0.7
Scrivito Follow on Twitter
Screenshot

Installation
Open your terminal.
$ cd to your Scrivito project
$ npm install scrivito-follow-on-twitterImport the widget in your javascript src/Widgets/index.js.
Add this line to your index.js:
import "scrivito-follow-on-twitter";Add the following lines to your '_headersCsp.json' in the public directory of your Scrivito App:
"script-src": [
"https://platform.twitter.com/widgets.js",
"https://platform.twitter.com/js/"
],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"