JSFiddle - React, Tailwind, and code Playground

by Lardpower

HTML

<div id="app">
  <h3>
  Data from the third-party site: <span v-text="textFromThirdPartyWebsite"></span>
  </h3>
  <br>
  <input type="button" value="Load data from snayp.ru" @click="get()"/>
</div>

JavaScript

new Vue({
  el: "#app",
  data: {
		textFromThirdPartyWebsite: 'Please wait...'
  },
  methods: {
  	get: function(){
      
      let self = this;
      
    	$.get('https://snayp.ru', (response) => {
      	let snaypHtml = $(response);
        
        self.textFromThirdPartyWebsite = snaypHtml.find('label[for="password"]').text();
      });
    }
  }
})