ravenaxiom / generator-ajb-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-ajb-boilerplate

Boilerplate code for working on static websites

Setup

  1. Download & install Ruby
  2. Install Sass with the command gem install sass
  3. Download & install ScssLint with the command gem install scss_lint
  4. Download & install Node
  5. Download & install Grunt
  6. From the root folder npm install. This will also run 'grunt' once complete.

Starting the local development server

  1. From the root folder npm start or grunt

Files & Folders

Code Guidelines

General

  • Use tabs for indentation

HTML

  • TODO

Javascript

  • TODO

Sass

  • Never use any vendor prefixes - the Autoprefixer task will automatically insert these to match the minimum browser support described in the Gruntfile
  • Styling should usually not be tied to a specific html . Instead, add a meaningful class name and add the styling to that.
  • Containers start with the prefix 'container-'
  • Components start with the prefix 'component-'
  • Classes used to describe state start with the prefix 'is-'

About

License:Apache License 2.0


Languages

Language:HTML 66.4%Language:CSS 17.5%Language:JavaScript 16.1%