It is a Laravel 9 Vue3 Inertia JS based demo project showing the basics of inertia js. Authentication, Authorization, Routing, form submittion and data binding. It will help begineers to understand "how to start with inertia JS". Build with love and passon and also its open source for web artisans.
- In your root folder, clone the project file using git clone https://github.com/rafi021/lara9inertia.git
- Open terminal (bash/cmd). Then go to project folder using command
cd laravel9inertiajs
- Then install required files and libraries using
composer install
- Then create a .env file and generate key for this project using command
cp .env.example .env
php artisan key:generate
- Then compile all CSS & JS files together using this command
npm install && npm run dev
or
yarn install && yarn run dev
- Create a database in MYSQL and connect it with your project via updating .env file.
- After connecting the db with project, then run command
php artisan migrate:fresh --seed
Finally we are ready to run our project using this command
php artisan serve
in one terminal and also run
npm run build
on another terminal for compiling js and css.