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 1.0 and 2.0.
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
bower install -S mostlyjs/mostly-elements
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/
.
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.
gulp test:local
This runs the unit tests defined in the test
directory through web-component-tester.
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.