{"id":13430670,"url":"https://github.com/Polymer/polymer-starter-kit","last_synced_at":"2025-03-16T06:30:52.310Z","repository":{"id":30551123,"uuid":"34105868","full_name":"Polymer/polymer-starter-kit","owner":"Polymer","description":"A starting point for Polymer apps","archived":true,"fork":false,"pushed_at":"2019-03-28T09:49:35.000Z","size":11471,"stargazers_count":2458,"open_issues_count":21,"forks_count":660,"subscribers_count":173,"default_branch":"master","last_synced_at":"2024-10-12T00:04:36.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Polymer.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}},"created_at":"2015-04-17T08:41:44.000Z","updated_at":"2024-09-16T19:51:37.000Z","dependencies_parsed_at":"2022-08-19T22:10:59.696Z","dependency_job_id":null,"html_url":"https://github.com/Polymer/polymer-starter-kit","commit_stats":null,"previous_names":["polymerelements/polymer-starter-kit"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polymer%2Fpolymer-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polymer%2Fpolymer-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polymer%2Fpolymer-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polymer%2Fpolymer-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polymer","download_url":"https://codeload.github.com/Polymer/polymer-starter-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221100984,"owners_count":16756234,"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-07-31T02:00:56.498Z","updated_at":"2024-10-27T09:30:29.521Z","avatar_url":"https://github.com/Polymer.png","language":"JavaScript","funding_links":[],"categories":["HTML","JavaScript","Templates"],"sub_categories":["Google I/O"],"readme":"# Polymer App Toolbox - Starter Kit\n\n[![Build Status](https://travis-ci.org/Polymer/polymer-starter-kit.svg?branch=master)](https://travis-ci.org/Polymer/polymer-starter-kit)\n\nThis template is a starting point for building apps using a drawer-based\nlayout. The layout is provided by `app-layout` elements.\n\nThis template, along with the `polymer-cli` toolchain, also demonstrates use\nof the \"PRPL pattern\" This pattern allows fast first delivery and interaction with\nthe content at the initial route requested by the user, along with fast subsequent\nnavigation by pre-caching the remaining components required by the app and\nprogressively loading them on-demand as the user navigates through the app.\n\nThe PRPL pattern, in a nutshell:\n\n* **Push** components required for the initial route\n* **Render** initial route ASAP\n* **Pre-cache** components for remaining routes\n* **Lazy-load** and progressively upgrade next routes on-demand\n\n### Setup\n\n##### Prerequisites\n\nInstall [Polymer CLI](https://github.com/Polymer/polymer-cli) using\n[npm](https://www.npmjs.com) (we assume you have pre-installed [node.js](https://nodejs.org)).\n\n    npm install -g polymer-cli\n\n##### Initialize project from template\n\n    mkdir my-app\n    cd my-app\n    polymer init polymer-3-starter-kit\n\n### Start the development server\n\nThis command serves the app at `http://127.0.0.1:8081` and provides basic URL\nrouting for the app:\n\n    npm start\n\n### Build\n\nThe `npm run build` command builds your Polymer application for production, using build configuration options provided by the command line or in your project's `polymer.json` file.\n\nYou can configure your `polymer.json` file to create multiple builds. This is necessary if you will be serving different builds optimized for different browsers. You can define your own named builds, or use presets. See the documentation on [building your project for production](https://www.polymer-project.org/3.0/toolbox/build-for-production) for more information.\n\nThe Polymer Starter Kit is configured to create three builds. These builds will be output to a subdirectory under the `build/` directory as follows:\n\n```\nbuild/\n  es5-bundled/\n  es6-bundled/\n  esm-bundled/\n```\n\n* `es5-bundled` is a bundled, minified build with a service worker. ES6 code is compiled to ES5 for compatibility with older browsers.\n* `es6-bundled` is a bundled, minified build with a service worker. ES6 code is served as-is. This build is for browsers that can handle ES6 code - see [building your project for production](https://www.polymer-project.org/3.0/toolbox/build-for-production#compiling) for a list.\n* `esm-bundled` is a bundled, minified build with a service worker. It uses standard ES module import/export statements for browsers that support them.\n\nRun `polymer help build` for the full list of available options and optimizations. Also, see the documentation on the [polymer.json specification](https://www.polymer-project.org/3.0/docs/tools/polymer-json) and [building your Polymer application for production](https://www.polymer-project.org/3.0/toolbox/build-for-production).\n\n### Preview the build\n\nThis command serves your app. Replace `build-folder-name` with the folder name of the build you want to serve.\n\n    npm start build/build-folder-name/\n\n### Run tests\n\nThis command will run [Web Component Tester](https://github.com/Polymer/web-component-tester)\nagainst the browsers currently installed on your machine:\n\n    npm test\n\nIf running Windows you will need to set the following environment variables:\n\n- LAUNCHPAD_BROWSERS\n- LAUNCHPAD_CHROME\n\nRead More here [daffl/launchpad](https://github.com/daffl/launchpad#environment-variables-impacting-local-browsers-detection)\n\n---\n\nLooking for our older PSK2 Polycast or migration blog post? See [the previous README](https://github.com/Polymer/polymer-starter-kit/blob/v3.2.1/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolymer%2Fpolymer-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPolymer%2Fpolymer-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolymer%2Fpolymer-starter-kit/lists"}