Code Monkey home page Code Monkey logo

laravel5angular4's Introduction

Laravel 5.4 with Angular 4.3.4(Using Angular cli)

Installation

composer install
npm install

Create .env file (can be based on .env.example)

php artisan key:generate

Build

ng build

Run Laravel

php artisan serve

laravel5angular4's People

Contributors

ghanshyamtank59 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel5angular4's Issues

no package.json

npm WARN saveError ENOENT: no such file or directory, open 'D:\development\larav
el5Angular4\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'D:\development\laravel5
Angular4\package.json'
npm WARN laravel5Angular4 No description
npm WARN laravel5Angular4 No repository field.
npm WARN laravel5Angular4 No README data
npm WARN laravel5Angular4 No license field.

How to pass data from Laravel to Angular

Hi @ghanshyamtank59 thanks alot for the this stunning starter the best i been through so far,
I don't have any issue and its runing awesome screen shot attached.
lang

Now, can you please ad example how to pass data between laravel & angular (e.g passing some data from laravel to dashboard template & vice versa).
At least i wish "dashboard works" come from back-end (laravel) to front-end(angular). hope you got me
I'm newbie for this thanks a lot for this starter. Please help out.

PHP parse error

Following your instructions leads to "PHP Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE) in C:\My_Code\laravel5Angular4\routes\web.php on line 19"

My PHP version: 5.6.30

Documentation

Could you add some documentation about how the routing is handled with this configuration? I'm not clear how the browser is hitting index.html but the API requests are routed to index.php.

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.