/mostly-elements

UI components for building microservices based admin application

Primary LanguageHTMLMIT LicenseMIT

MostlyJS Elements

Build Status

About mostly-elements

Mostly Elements is an ongoing work to develop a set of UI elements for building admin applications with microservices (i.e. micro frontends) using Polymer 2.0 (legacy mode).

Preview

Documentation

Please see the documentation site.

Dependencies

Element dependencies are managed via Bower. You can install that via:

npm install -g bower

Then, go ahead and download the element's dependencies:

bower install

Reference mostly-elements in your Bower dependencies

bower install -S mostlyjs/mostly-elements

Quickstart

We recommend that you use Polymer CLI which you can install via:

npm install -g polymer-cli

Then you can run a local web server via:

polymer serve -p 5000

Once running, you can checkout the docs and demos at http://localhost:5000/demo/.

Development workflow

Serve / watch

gulp serve

This outputs an IP address you can use to locally test and another that can be used on devices connected to your network.

Run tests

gulp test:local

This runs the unit tests defined in the test directory through web-component-tester.

Build & Vulcanize

gulp

Build and optimize the current project, ready for deployment. This includes linting as well as vulcanization, image, script, stylesheet and HTML optimization and minification.