hapticdata / polymer3-example

An early setup of polymer 3 with lerna and webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polymer 3 example

This is an example repo that uses the latest version of polymer 3. There are several example components included. Some other technologies used are webpack, lerna, and yarn workspaces to keep it a monorepo, but still allows you to publish out the individual components or javascript modules to npm for consumption.

If you want a more detailed explanation you can read about it here: https://medium.com/@slantedwalker/our-use-of-polymer-3-so-far-f2439cc89135

Prerequisites

You will need to install webpack and lerna in order to use this repo.

>npm install -g webpack@3.10.0
>npm install -g lerna@2.9.0

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Once you've cloned it, do:

>cd js
>yarn
>lerna bootstrap
>cd packages/client
>npm run serve

It should now be running on localhost, the bundles and the build folder is at: /js/packages/dist/**

Authors

  • Eric Moore

Acknowledgments

About

An early setup of polymer 3 with lerna and webpack.


Languages

Language:JavaScript 58.2%Language:HTML 41.8%