vaadin/generator-polymer-init-vaadin-elements-app

Name: generator-polymer-init-vaadin-elements-app

Owner: Vaadin

Description: Progressive web application template done with Polymer App Toolbox and Vaadin components

Created: 2016-08-29 08:12:56.0

Updated: 2018-05-03 12:38:46.0

Pushed: 2018-05-11 07:32:56.0

Homepage: https://vaadin.com/components

Size: 549

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Vaadin Elements application template

Vaadin Elements application is a progressive web application template done with Polymer App Toolbox and Vaadin components.

Screenshot of the Vaadin Elements Application

Usage

Follow the steps in the Vaadin Elements Application Template tutorial to create and run your application.

Development
Running locally

In order to be able to try the generator from local, clone this repository and type the following command in the project root directory:

$ npm link

This will install the dependencies and will create a global link to this module. Now, when you create a new app using this template by running $ polymer init vaadin-elements-app, your cloned repository will be used.

Testing the generator

In this project, there are unit tests for the generator part as well as application tests for the generated application.

The application tests are based on the Web Component Tester. Please make sure that it is installed and the wct command is available in your PATH. Otherwise, run the following command to install it:

$ npm install -g web-component-tester

In order to run the tests, type the following command in the project directory:

$ npm test

This will run the unit tests, as well as generate and test the application in a temporary path.

You can also run the unit tests and the application tests separately using the $ npm run test:unit and $ npm run test:e2e commands respectively.

Contributing

See the contribution instructions which apply to this project as well.

License

Apache License 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.