Code Monkey home page Code Monkey logo

laravel5.3-vuejs2's Introduction

Laravel5.3-Vuejs2-demo

About this application

This application is built on Laravel 5.3 and Vue. Application is using this theme.

Dependencies

Installation

Please clone this repository to your computer and do below steps to run:

Install all dependencies

$ composer install
$ npm install

Create new database in mysql Create .env file based on .env.example and update it based on your configuration Database migration

$ php artisan migrate --seed
$ php artisan passport:install
$ gulp

Please confirm that you have sessions views and cache folders under storage/framework directory

$ php artisan serve

Open

http://localhost:8000

Directory Structure

When you are clone this l53-starter demoApp for laravel 5.3 and vuejs 2.1.8, It contains the following tree structure for the perticular resources folder in root directory :

Resources directory tree

.

Explanation for VueJs 2.1.8 :

  • The app.js is creating a root Vue instance with the Vue constructor function, so it is the main file for starting with the vuejs.
  • This file is added in main app.blade.php which is in the resources/views directory.
  • The router.js file contains front-end routes for the app.
  • And the store directory contains actions.js, getters.js, index.js, mutations-types.js and mutations.js.
  • In that state is managed for the data using vuex (https://vuex.vuejs.org/en/state.html)
  • App.vue is the main component in which other components are renders.
  • For starting to work with vuejs 2, you are free to add new components in components directory.

laravel5.3-vuejs2's People

Contributors

bhumikadobariya avatar

Watchers

James Cloos avatar  avatar

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.