Skip to content

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

Notifications You must be signed in to change notification settings

AfikDeri/Vue-Laravel-SPA

Repository files navigation

Video Chat Application Example

Youtube Tutorial link

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 :)

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published