-
Notifications
You must be signed in to change notification settings - Fork 4
Guidelines
Patrick HENG edited this page Jun 6, 2016
·
1 revision
- BEM
- Prefix all hover by
.desktop-device, in order to prevent double tap for mobile - No deep imbrication for sass
- Colors, breakpoint, font-stack are defined in
_variables.scss - Generic text styles are defined as mixins in
_text.scss
- The entry point of the bundle is
main.js - Enter point of each react router view is place in the
src/containerfolder. - Components are all describes in
src/components''. WebGl canvas and logic are their folder prefix byWebGL``. - Components must be reusable, and the config must be externalize in a proper file in the
src/configfolder and exported in JSON insrc/config/index.js. - External library must be load from NPM only, if cannot and only if load it in ``src/vendors```
- Webpack config is separeted dev and prod config in 2 files