{"id":21090992,"url":"https://github.com/robertfoobar/polymer-3-web-component-sample","last_synced_at":"2025-07-21T08:32:50.893Z","repository":{"id":95202781,"uuid":"160834994","full_name":"robertfoobar/polymer-3-web-component-sample","owner":"robertfoobar","description":"A custom Polymer 3 web component sample including build and local hosting","archived":false,"fork":false,"pushed_at":"2018-12-07T15:33:41.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T06:22:42.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertfoobar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-07T14:36:52.000Z","updated_at":"2019-06-21T23:20:05.000Z","dependencies_parsed_at":"2023-04-04T16:02:00.809Z","dependency_job_id":null,"html_url":"https://github.com/robertfoobar/polymer-3-web-component-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertfoobar/polymer-3-web-component-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfoobar%2Fpolymer-3-web-component-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfoobar%2Fpolymer-3-web-component-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfoobar%2Fpolymer-3-web-component-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfoobar%2Fpolymer-3-web-component-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertfoobar","download_url":"https://codeload.github.com/robertfoobar/polymer-3-web-component-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfoobar%2Fpolymer-3-web-component-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266267290,"owners_count":23902334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T21:42:33.000Z","updated_at":"2025-07-21T08:32:50.872Z","avatar_url":"https://github.com/robertfoobar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Polymer 3 Web Component\nCode in here is written in ES6 based on the [Polymer](https://polymer-project.org) framework.\n\n## Prerequisites\n\n* Make sure you have Node \u003e=v8.9.1 with NPM \u003e=v5.5.1 installed\n* Make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) \u003e=1.9.1 installed.\n\n## Serving the dev state\nThen run `polymer serve` to serve your application locally.\n```\n$ polymer serve\n```\n\n## Building the app for production\n```\n$ npm run compile:prod\n```\nThis will create builds of your application in the `build/` directory, optimized to be served in production.\n\n## Serving the prod build locally\n\nYou can serve the compiled output like so:\n\n```\n$ npm run compile:prod\n$ npm run serve:prod\n```\nThis will startup a local http server hosting from the build output folders. Usually at https://localhost:8443/.\n\n## How does the web component bootstrapping work\nWhen you open index.html it will load\n* webcomponents-loader, which takes care of polyfilling your browser\n* regenerator runtime,\n* babelhelpers,\n* and some polyfill code that is taken from polymer serve output.\n\nThen it will load a custom loader that I've written to determine whether to serve the es5 bundled version or the\nes6 version of the web component.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfoobar%2Fpolymer-3-web-component-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertfoobar%2Fpolymer-3-web-component-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfoobar%2Fpolymer-3-web-component-sample/lists"}