@advanced-rest-client/rest-api-menu
v3.0.0-preview.1
Published
A quick access menu for REST API projects
Downloads
6
Readme
rest-api-menu
A quick access menu for REST API projects
<rest-api-menu></rest-api-menu>
API components
This components is a part of API components ecosystem
Usage
Installation
npm install --save @advanced-rest-client/rest-api-menu
In an html file
<html>
<head>
<script type="module">
import '@advanced-rest-client/rest-api-menu/rest-api-menu.js';
</script>
</head>
<body>
<rest-api-menu></rest-api-menu>
</body>
</html>
In a Polymer 3 element
import {PolymerElement, html} from '@polymer/polymer';
import '@advanced-rest-client/rest-api-menu/rest-api-menu.js';
class SampleElement extends PolymerElement {
static get template() {
return html`
<rest-api-menu></rest-api-menu>
`;
}
}
customElements.define('sample-element', SampleElement);
Installation
git clone https://github.com/advanced-rest-client/rest-api-menu
cd api-url-editor
npm install
npm install -g polymer-cli
Running the demo locally
polymer serve --npm
open http://127.0.0.1:<port>/demo/
Running the tests
polymer test --npm