Vue
by asemahle
HTML
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<div id="app">
<h1>My Fun Table</h1>
</div>
Vue
$.get("https://jobs.github.com/positions.json?description=ruby&page=1").responseText;
/*
const res = $.ajax('https://api.graphql.jobs/', {
data: `
jobs {
id
title
cities(where: { name_starts_with: "San" }) {
name
country {
name
}
}
}
}`,
method: "POST"
})
console.log(res);
*/
/**
new Vue({
el: "#app",
data: {
},
methods: {
toggle: function(todo){
todo.done = !todo.done
}
},
created: function() {
}
})**/