jphager2 / webcomponents-playground

Playing around with webcomponents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Components Playground

Playing around with web components.

Requirements:

  • node
  • bower (ugh...)
  • ruby (for setup)

Setup

git clone git@github.com:jphager2/webcomponents-playground
cd webcomponents-playground
bower install
npm run build

Running the server

npm start

# Running on localhost:3000

Installing a component

Also see Loading a component

bower install --save [component-package]

Loading a component

In web/component-imports.js add the component_name/html_file_name to the bowerImports array.

About

Playing around with webcomponents


Languages

Language:HTML 52.9%Language:JavaScript 44.1%Language:Ruby 3.0%