xfiveco / generator-chisel

Chisel is a development framework for creating easy to maintain and fast WordPress websites.
https://www.getchisel.co
MIT License
269 stars 37 forks source link

Objects subgenerator #84

Closed luboskmetko closed 7 years ago

luboskmetko commented 7 years ago

An idea for a library of reusable objects (inspired by Stano) integrated to Chisel

$ yo chisel:objects
? Select objects you want to install: (Press <space> to select, <a> to toggle all, <i> to inverse selection)
>( ) Media object
 ( ) Pagination
 ( ) Tabs

This would install ITCSS object, sample Twig template and JS module (if needed). Thinking whether this should be installed as a node module for easy updates. Should we then have a repo per object, eg. chisel-pagination?

luboskmetko commented 7 years ago

Instead of objects subgenerator we now have some basic components inside ITCSS. We will create a folder insider the repository to store code snippets (see #145) and we'll see later if we use them in a subgenerator.