scrivito-follow-on-twitter
v1.0.7
Published
A follow me on twitter React component/Scrivito widget for the Scrivito CMS.
Downloads
4
Readme
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:
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"