Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

Hi Sanuglia,

You can import axios in your bootstrap.js file using

import axios from 'axios';

then bind it to the window so you can use it throughout your application:

window.axios = axios;

Hope this helps.

Jim

Last updated 6 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Sanuglia sanuglia Joined 11 May 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.