Scrivito Reference Teaser
A teaser React component/Scrivito widget for the Scrivito CMS.
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-reference-teaser
Import the widget in your javascript src/Widgets/index.js
.
Add this line to your index.js:
;
Features
The Reference Teaser Widget renders a teaser from a referenced page. Includes title image, title and subtitle if set on referenced page.
Widget properties
In the widget properties you can set:
- Page
Check code quality
$ npm run eslint
and
$ npm run es-check