title: Install stencil component using NPM, its method can not use directly in react. js and vue. js
body: <p>I want to use the stencil component method in reacting.js and vue.js, but I can not use this method. This method is created using @METHOD in stencil.js . My code is below:</p>
  
  <p>IN REACT.JS </p>
  
  <pre><code>&lt;li-rating ref={this.liRatingFontAwesome}&gt;&lt;/li-rating&gt;
  
  liRatingFontAwesome = React.createRef();
  var liRating = this.refs.liRatingFontAwesome;
  liRating.setSvgString();       &lt;= Thit method can't find.
  </code></pre>
  
  <p>IN VUE.JS</p>
  
  <pre><code>&lt;li-rating id="liRatingFontAwesome"&gt;&lt;/li-rating&gt;
  
  var liRating = document.getElementById("liRatingFontAwesome");
  liRating.setSvgString();        &lt;= Thit method can't find.
  
  
  
  
  vue.esm.js?efeb:1897 TypeError: liRating.setSvgString is not a function
  at VueComponent.mounted (RateDemo.vue?30fb:150)
  at invokeWithErrorHandling (vue.esm.js?efeb:1863)
  at callHook (vue.esm.js?efeb:4222)
  at Object.insert (vue.esm.js?efeb:3148)
  at invokeInsertHook (vue.esm.js?efeb:6351)
  at Vue.patch [as __patch__] (vue.esm.js?efeb:6570)
  at Vue._update (vue.esm.js?efeb:3948)
  at Vue.updateComponent (vue.esm.js?efeb:4069)
  at Watcher.get (vue.esm.js?efeb:4482)
  at new Watcher (vue.esm.js?efeb:4471)
  </code></pre>