@insite/create-sdc

1.0.3 • Public • Published

@insite/create-sdc

Generate basics Drupal Single Directory Components using Plop.


Installation

yarn add -D @insite/create-sdc
npm install --save-dev @insite/create-sdc

Basics

The generator provides basic markup and support for Drupal variables, as well as optionnal files like .js, .stories.twig and .scss.

Supported Templates

  • Base: Basic component with a content slot.
  • Block: Block component supporting default Drupal variables, with a content slot.
  • Card: Card component, with header/content/footer slots or a global content slot.
  • Field: Field component supporting default Drupal variables.
  • View: View component supporting default Drupal variables.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @insite/create-sdc

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    16.5 kB

    Total Files

    35

    Last publish

    Collaborators

    • yoinsite
    • prudloff
    • d4vm