Giter Club home page Giter Club logo

dwp.ux-prototyping-kit's Introduction

UX Prototype Tooling

A repo to create simple mustache templates for UX prototyping. This includes the styles taken from Gov UK Template and sass from Gov UK frontend toolkit

Table of contents

  1. Requirements
  2. Setup
  3. Run
  4. Prototyping
## Requirements This repo requires you to have NodeJS, Ruby, Sass, and Compass >=1.0.1 installed.

NodeJs & NPM

  • Install NodeJs
  • Once installed run $ nvm install v0.10.26

Ruby

  • Install ruby using RVM
  • Test ruby has installed by $ ruby -v you should see something like $ ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]

Compass & Sass

  • When you've confirmed you have Ruby installed, run gem update --system && gem install compass to install Compass and Sass
## Setup
  • $ cd ux-prototype-tooling
  • $ npm install
## Run
  • Run $ npm start
  • A window will automatically open on http://localhost:9001 here you can browse your templates
## Prototyping

Pages

Pages can be found in build/templates/pages/ in here you can create your page. Name it <pageName>.mustache any data you wish to be associated with that page can be added to <pageName>.json. You will see an example for form.mustache & form.json

Partials

You can create partials in build/templates/partials/ and then include this within your pages. There are a number of examples found in the partials folder.

Custom Styles

You have the ability to add custom styles to be used in your prototyping. These can be added in build/stylesheets/main.scss/

dwp.ux-prototyping-kit's People

Contributors

hollidazed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.