Created
January 22, 2018 00:13
-
-
Save niradler/a5d77d11b5e11d864407fdb428af802c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof require === 'undefined') { | |
if (!axios) { | |
console.log('axios is a dependency, please include it in the top of the index.html file (<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.17.1/axios.min.js"></script>)') | |
} | |
} else { | |
var axios = require('axios'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment