Skip to content

An early setup of polymer 3 with lerna and webpack.

Notifications You must be signed in to change notification settings

slanted/polymer3-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published