Skip to content

shivragshukla/laravel-vue

Repository files navigation

Installation

Step 1

You can install the package via git:

git clone https://github.com/shivragshukla/laravel-vue.git

Package install

Run the command :

  • The Laravel package will automatically register itself, so you can start using it immediately.
composer install
  • The npm package will automatically register itself, so you can start using it immediately.
npm install

Key generate

Run the command :

  • The Laravel key generate immediately.
php artisan key:generate

Step 2 - SetUp database

  • Open .env file set DB_DATABASE, DB_USERNAME, DB_PASSWORD and add MIX_APP_URL="${APP_URL}"
  • Run the command :
composer dump-autoload
php artisan migrate:refresh --seed

-The jwt token package will automatically register itself, so you can start using it immediately.

php artisan jwt:secret

Usage

  • Run the command on 1st shell:
php artisan serve
  • Run the command on 2nd shell:
npm run watch

Username & password

About

Laravel 7.x auth with vue js

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published