laravel_pusher_axios
laravel_pusher_axios copied to clipboard
A Laravel Vue.js project using axios to handle http requests and Vuex to manage state
Handle http requests in a Laravel Vue.js app with Axios.
A Laravel Vue.js project using axios to handle http requests and Vuex to manage state.
Getting Started
Make sure you have npm
and composer
on your local machine
- Clone this repository and cd into it
- Run
composer install
andnpm install
to download laravel dependencies - Run
php artisan key:generate
to generate a key for the app - Set up your database in your
.env
file and run phpphp artisan migrate --seed
- Execute
npm run dev
to build project assets - Execute
php artisan serve
to run the project in your browser - See the tutorial for useful notes
Prerequisites
- Laravel
- Vue
- Vuex
- npm