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).
Please see the documentation site.
Element dependencies are managed via Bower. You can install that via:
npm install -g bowerThen, go ahead and download the element's dependencies:
bower installbower install -S mostlyjs/mostly-elementsWe 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 5000Once running, you can checkout the docs and demos at http://localhost:5000/demo/.
gulp serveThis outputs an IP address you can use to locally test and another that can be used on devices connected to your network.
gulp test:localThis runs the unit tests defined in the test directory through web-component-tester.
gulpBuild and optimize the current project, ready for deployment. This includes linting as well as vulcanization, image, script, stylesheet and HTML optimization and minification.
