0.2.1 • Published 7 years ago

trowel-cards v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Friends of Trowel

Trowel Cards

npm version Bower version

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