Skip to content

samdbeckham/pattern-library-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pattern Library Template

This template gets you set up with everything you need to get started on your own responsive pattern library. It uses Jekyll, grunt, sass out of the box and is ready to add in as many components as you wish. Use includes and set up page templates as you see fit.

Set up

In order to run this pattern library generator correctly you'll need to follow a couple of steps first.

  1. You will need node on your machine visit https://nodejs.org/ and install.
  2. $ gem install jekyll — If you don't already have jekyll on your machine.
  3. $ npm install — To get all the dependencies for grunt.
  4. $ bower install — To get all the dependencies for bower.

Running the project

Run grunt or grunt serve on the command line and the project will build itself, set up a server, open the index page, and wait for you to make changes.

Building the project

Once you're happy with everything, run grunt build and it will compile everything ready for production. All the built files will go into the web directory, just point your server here and you're good to go.

Optionally, you can set your pattern library up on GitHub pages. I'll pull together a more tailored walk through but for now you can get the basic jist here.

What's included

We've included some basic stuff to get you started but feel free to rip anything out you don't need and add anything you do.

  • Grunt

    • Autoprefixer
    • Clean
    • Connect
    • Copy
    • Htmlmin
    • Requirejs
    • Browserify
    • Sass
    • Watch
    • Jekyll
    • Processhtml
    • Svgstore
    • Jit-grunt
    • Load-grunt-config
  • Bower

    • Require.js
    • Modernizr
    • Jquery
  • Jekyll

Support

This template supports IE9 and above and Evergreen browsers. Its an easy addition to add in < IE9 support

Issues

If you come across any bugs or would like a feature implimented, log an issue; or better yet fix it and submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published