Skip to content

How to use this? #20

@clapas

Description

@clapas

Hello,

I'm trying to figure out how to use this.

I installed the rest-api package with bower and added this to my index.html:

<rest-api url="http://localhost:3000">
  <rest-api-resource name="products" collection="{{products}}"></rest-api-resource>
</rest-api>

and this to my index.js:

import 'bower_components/webcomponentsjs/webcomponents-lite'

I am using webpack to serve the app. The elements render but nothing happens, e.g. no API request, etc.

Am I missing any steps? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions