PhpDev.App
AfikDeri/Vue-Laravel-SPA

AfikDeri/Vue-Laravel-SPA

Stars: 105

Forks: 76

Pull Requests: 3

Issues: 10

Watchers: 7

Last Updated: 2021-01-09 10:17:07

Single Page Application made with Vue.JS2, Vue Router, Vuex and Laravel 5.6.

License:

Languages: PHP, Vue, HTML

Video Chat Application Example

Youtube Tutorial link

@WeCodeTutorials

Logo

This project is made for my youtube tutorial on "Create a SPA with Vue.JS 2, Vue-Router, Vuex and Laravel 5.6".

App Example

get it up and running.

After you clone this project, do the following:

# go into the project
cd Vue-Laravel-SPA

# create a .env file
cp .env.example .env

# install composer dependencies
composer update

# install npm dependencies
npm install

# generate a key for your application
php artisan key:generate

# generate Server secret for JWT
php artisan jwt:secret

# create a local MySQL database (make sure you have MySQL up and running)
mysql -u root

> create database vuespa_db;
> exit;

# add the database connection config to your .env file
DB_CONNECTION=mysql
DB_DATABASE=vuespa_db
DB_USERNAME=root
DB_PASSWORD=

# run the migration files to generate the schema
php artisan migrate

# run webpack and watch for changes
npm run watch

Good Luck :)

RELEASES

See all