Git Product home page Git Product logo

laravel-vue-spa's Introduction

A Sample project to learn how to work VueJS SPA with Laravel

I've trying to cover all features available in VueJS, this project is fully ready and you've to nothing extra to run it. Just clone this project, connect with database, import database from sql-backup located at root. In this project, vue will get your API url automatically from Laravel Route. All of Laravel routes you can access dynamically at VueJS with same name you give at laravel route.

See the live example at project

How to run (Install)

  1. Clone the project to your local server or your remote server
git clone [email protected]:mh-shohel/laravel-vue-spa.git
cd laravel-vue-spa
sudo cp .env.example .env
php artisan key:generate
  1. Create database to MySQL and import
A Ready database I've proivded, you will found it root/sql-backup directory import
  1. Place your database information at .env file located at root directory
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=vue_blog
DB_USERNAME=root
DB_PASSWORD=root

Congratulation, you are set, now browse your application using browser address

VueJS source?

VueJS source is located at root/public/assets/vue-js
VueJS build you will found at root/public/assets/js/vue.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.