simonox / polymer-testbed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polymer CodeLab for the GDG Devfest Hamburg 2015

Getting started

  • Install Git

  • Install Node.js

    • make sure you can run the command npm --version
    • => 2.xx.x
  • Install development dependencies

    • npm install
  • Install Bower

    • $ npm install -g bower
  • Install Grunt

    • $ npm install -g grunt-cli
  • Clone this project

    • git clone https://github.com/sandro-k/devfest.git
  • Install Polymer

    • $ bower install --save polymer
  • Open with any IDE/ text editor (Chrome Dev Editor WebStorm, Atom, Sublime Text, ...)

    • If you use the Chrome Dev Editor please check out the Polymer Codelabs how to use it and get stated with bower
  • Start a local Webserver

    • grunt connect
    • grunt serve - has live reload support
    • python -m SimpleHTTPServer 8080

Step 1

  • Copy template.html to index.html
    • load WebComponents.lite.js for IE try WebComponents.js
    • import and instantiate a Custom-Elements e.g. <paper-button>

Step 2

Step 3

Step 4

  • Any questions pleas ask!

Links

About

License:MIT License


Languages

Language:HTML 71.3%Language:JavaScript 28.7%