@longlost/app-shared-styles
v2.0.15
Published
shared common app css styles
Downloads
5
Readme
<app-shared-styles>
To use these across web components, import
this file in js and use the 'include' keyword in the html <script>
tag
my-element.js
import '@longlost/app-shared-styles/app-shared-styles.js';
my-element.html
<style include="app-shared-styles">
... element specific css
</style>
Install the Polymer-CLI
First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install
to install your element's dependencies, then run polymer serve
to serve your element locally.
Viewing Your Element
$ polymer serve
Running Tests
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.