The official Trowel Component for cards Cards is a Trowel Component, please refer to the Trowel doc for more informations about how works Trowel Components
You can easily install Trowel Cards by using npm, Yarn or Bower
# With bower
$ bower install trowel-cards
# With npm
$ npm install trowel-cards
# With yarn
$ yarn add trowel-cards
You can also download a zip archive right here.
The main scss file to include to your main .scss
file is located at the ./src/scss/cards.scss
. As a Trowel Component, it also requires two dependencies to compile the scss code. Here an scss installation snippet.
// Trowel Dependencies
@import './path/to/dependencies/trowel-core/src/trowel';
// Trowel Components Cards
@import './path/to/dependencies/trowel-cards/src/scss/cards.scss';
The twig file is located at the ./src/twig/card.html.twig
.
to be written
MIT © Trowel