It is a Laravel 9 Vue 3 Vite based demo project reflecting the way of authentication using laravel sanctum and use Vue 3 as frontend framework. Build with love and open source for developers.
- Bootstrap 5.2
- laravel 9
- Vue 3
- Vite
- In your root folder, clone the project file using git clone https://github.com/rafi021/laravel9vue3Auth.git
- Open terminal (bash/cmd). Then go to project folder using command
cd laravel9vue3Auth
- 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
- if npm shows error then try to use --force flag with npm install like this*
npm install --force
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
After completing the migration. Now you can register new user and login using that user. It will redirect you into the dashboard.
If you found any problem, please feel free to reach me.