This is a simple blueprint to kick off mockups and prototypes using assemble.io and hologram.
The basic file structure for this project looks like this.
.
├── build
│ ├── styleguide
│ └── www
└── src
├── js
├── sass
├── site
└── styleguide
build/styleguide/
contains a styleguide which is generated from (src/sass
) using hologram templates (src/styleguide
).
build/ww
contains the actual prototype and is generated from handlebars using assemble.io (src/site
).
JavaScript and CSS are mainly shared (src/js
) and (src/sass
).
- Clone to any directory
git clone https://github.com/Westwing-Home-and-Living/ww-prototyping-blueprint.git
and cd into the project - Install hologram
gem install hologram
. - Run
npm install
. - Run
grunt serve
.
└── src
├── js
├── sass
│ ├── ...
│ ├── modules (1c) Create partial css
│ │ (3) If final, document your css
│ ├── ...
├── site
│ ├── content (2) Render partial in site and test. Iterate.
│ └── templates
│ ├── data (1b) Create mock data for partial
│ ├── ...
│ └── partials (1a) Create partial markup
└── styleguide
- Refactor styleguide classes from hologram. I.e. in h1 tags
- Right now CSS, JS and Markup are scattered across the whole project (which is more or less the traditional approach. Though jumping slows down development process
- It would be nice if one would not be forced to write redundant Markup in CSS doc. --> ReactJS can solve all these problems (and is supported).
- block order: To order blocks @see trulia/hologram#69