Skip to content

firstor/polymer-chat

Repository files navigation

Polymer Chat Demo

Travis state

An example to demonstrate how to create chat app with Polymer and other web components. It also demonstrate usage of Polymer's custom-style and custom CSS variables and mixins in Angular project, by utilizing Origami, which bridges gaps between the Angular platform and Polymer web components.

Intro

For details of Origami's custom style support, please refer to custom-style.md.

For details of Polymer's custom-style, please refer to Style Shadow DOM.

For more details of production build, please refer to production-build.md.

Libraries

  • Angular 4.3.2
  • Polymer 2.0.2
  • Origami 1.2.3

Browsers

  • Chrome
  • Firefox
  • Microsoft Edge 13 or later
  • Internet Explorer 10 or later
  • Safari 9 or later

Launch

You need to install all required packages and components.

$ yarn install
$ bower install

Then open the browser and go through http://localhost:3000

  • The error "Cannot enable prod mode after platform setup" in production build will be resolved with latest version of Angular (4.2.3)

Enjoy!