Open ulises58 opened 4 years ago
@ulises58 just put scripts in your html like this:
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdn.rawgit.com/rikmms/progress-bar-4-axios/0a3acf92/dist/index.js"></script>
$(document).ready(function() { loadProgressBar() $("#test").click(function(){ console.log("mandado peticion") axios.get('http://127.0.0.1:53330') .then(function (response) { renderTable(response.data)
}) .catch(function (error) { // handle error console.log(error); }) .then(function () { // always executed }); }); })