https://github.com/kaseyhinton/polymer-typescript-starter-kit
A template for a web application using polymer and typescript derived from the polymer starter kit.
https://github.com/kaseyhinton/polymer-typescript-starter-kit
Last synced: about 2 months ago
JSON representation
A template for a web application using polymer and typescript derived from the polymer starter kit.
- Host: GitHub
- URL: https://github.com/kaseyhinton/polymer-typescript-starter-kit
- Owner: kaseyhinton
- Created: 2017-02-28T20:51:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T17:41:18.000Z (about 8 years ago)
- Last Synced: 2025-04-01T16:17:02.074Z (2 months ago)
- Language: HTML
- Size: 1.74 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polymer Typescript Starter Kit
This is a clone from the polymer starter kit. https://github.com/PolymerElements/polymer-starter-kit
The only difference is the use of typescript, gulp, and browsersync.
Included is the visual studio code settings.json that hides .js and .jsmap
files by default. It also sets format on save to true.### Setup
##### Prerequisites
npm install -g polymer-cli
npm install -g bower##### Initialize project from template
git clone https://github.com/kaseyhinton/Polymer-Typescript-Starter-Kit.git
cd polymer-typescript-starter-kit
bower install
npm install### Start the development server
This command watches the html and js files in the src file and updates
the browsers. The typescript should compile on save.gulp
### Build
polymer build
### Preview the build
polymer serve build/unbundled
polymer serve build/bundled
### Run tests
polymer test### Adding a new view
You can extend the app by adding more views that will be demand-loaded
e.g. based on the route, or to progressively render non-critical sections of the
application. Each new demand-loaded fragment should be added to the list of
`fragments` in the included `polymer.json` file. This will ensure those
components and their dependencies are added to the list of pre-cached components
and will be included in the `bundled` build.