trowel-cards
v0.2.1
Published
The official Trowel Component for cards
Downloads
3
Maintainers
Readme
Trowel Cards
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
Getting Started
Download
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.
Installation
SCSS
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';
Twig files
The twig file is located at the ./src/twig/card.html.twig
.
Usage
to be written
License
MIT © Trowel