Skip to content

Westwing-Home-and-Living/ww-prototyping-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Westwing Prototyping Blueprint

This is a simple blueprint to kick off mockups and prototypes using assemble.io and hologram.

How it works

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).

Quickstart

  1. Clone to any directory git clone https://github.com/Westwing-Home-and-Living/ww-prototyping-blueprint.git and cd into the project
  2. Install hologram gem install hologram.
  3. Run npm install.
  4. Run grunt serve.

Creating Modules

└── 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

Todo

  • 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).

Bugs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published