« Axios » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(Page créée avec « Category:Web Category:Javascript = Links = * [https://github.com/axios/axios axios] ») |
(→Links) |
||
Ligne 3 : | Ligne 3 : | ||
= Links = | = Links = | ||
* [https://github.com/axios/axios axios] | * [https://github.com/axios/axios axios] | ||
= [https://stackoverflow.com/questions/44877904/how-do-you-import-a-javascript-package-from-a-cdn-script-tag-in-react Client side] = | |||
<kode lang='html'> | |||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | |||
<script> | |||
const axios = window.axios; | |||
</script> | |||
</body> | |||
</html> | |||
</kode> |
Version du 27 janvier 2021 à 14:47
Links
Client side
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> <script> const axios = window.axios; </script> </body> </html> |