Hi I use visual studio 2017 with polymer 3.0.I try to use iron-ajax to rest call.But I take error 'Uncaught SyntaxError: Unexpected string iron-ajax line 11'.I copy same example at iron-ajax site but error is same.What I am missing about?
https://www.webcomponents.org/element/@polymer/iron-ajax
> <script src="node_modules/@polymer/iron-ajax/iron-ajax.js"></script>
>     <script type="module">
>         import { PolymerElement, html } from './node_modules/@polymer/polymer/polymer-element.js';
>         //import './node_modules/@polymer/iron-ajax/iron-ajax.js';
>         class SampleElement extends PolymerElement {
>             static get template() {
>                 return html`
>       <iron-ajax
>           auto
>           url="http://localhost:8033/api/City/All"   
>           hande-as="json"
>           on-response="handleResponse"
>           debounce-duration="300">
>       </iron-ajax>
>     `;
>             }
>         }
> 
>             customElements.define('sample-element', SampleElement);
>     </script>
				
                        
I tried to find out from your codes, but I could not find. Maybe problems comes out from something else over there. Here a working example: (I just changed the URL to retrieve some data:
DEMO