I am getting myApp is not defined error. Also angular is not defined error too. Cross checked with your git code. Seems fine. From where should I start my debugging ? any clue ?
same problem here as with the previous people. How do I access the master.blade.php file? When I do php artisan serve, I get to localhost:8000 with the Laravel Home Page Also, when I replace the code inside of master.blade.php into welcome.blade.php I get this error: FatalErrorException in 2aab1ecdc9ebb5e37b6172ac1999730424581a05.php line 11: parse error Line 11: Thank you
You should be able to put your master.blade.php file in the resources->views directory, and then in the routes.php file under app->http the route that says Route::get('/',.... should be set to point to your master.blade.php file. This can be done directly by putting a function in the route, or better by linking the route to a controller, like Route::get('/', 'ControllerName@methodName'); and then within that method of that controller you would call the master file
I've very carefully followed your steps and rechecked everything many times. But when I load the '/#/' or any of the angular pages, all I get is the default Laravel welcome screen. Any suggestions?
Hi! Thank you for sharing nice video tutorial. I have some issues when I tried follow your step in this video, but it's okay all issues already solved after several times keep rewind you video.. Just some feedback/ suggestion from me, could you give us more details for steps in video such as how you create this project because I just figured it out you've been doing another steps such as do npm install so there's a folder node_modules and many steps that I think you should explain clearly like why the main page in your video and fresh laravel install is different (there's no step explain you did change the controller and create template folder which all files on it). Over all my feedback you did awesome things Sir! Thank you.
Hi Yusuf, thanks for the feedback. If you have any difficulty following the tutorial and about the setup of the application, feel free to question me on that. And yes, I will keep that in mind. Last but not the least, call me Amitav.
I want to follow this tutorial video, because it is well covered, however I did not understand, how do we do to make the pages of this in the "template" folder appears in the browser, because the mine has the "Welcome.blade.php" in the route and when I replace it with "master" only appears what is in it. I want to know how do I access the dashboard login and logout page ...? thank you!!
Hey Key Pereira: You have to understand that there are two types of template working here one is the blade.php file which is the server side template and that will load only once. After that, the templates inside the public/templates folder comes into play which Angular JS will load. The main .blade.php file has ng-view which is loading all the HTML templates. I hope you will be able to understand it now.
Thank you for answering me so fast, that is motivating Despite being new in this laravel´s world, but I'm very interested. And I already understand the logic of this system, but I think in my implementation is missing some file, but I will try to resolve it. Keep it up with this dynamic. I will follow you!
I really appreciate your tutorial as I am committing to using Angular with Laravel 5.1. I've very carefully followed your steps and rechecked everything many times. But when I load the '/#/' or any of the angular pages, all I get is the default Laravel welcome screen. Any suggestions? Is there something I need to remove or change with the default Laravel app/http/routes or . . .? Thank you in advance
I have a problem here... I have a Laravel 5.3 framework with AngularJS 1.x and I have followed ALL the instructions in this video. My routes-file(web.php) just contains : Route::get('/', function () { return view('master'); }); and I can get to the front page(master.blade.php). When I type anything like "angularlaravel.dev/dashboard" in the browser I get "NotFoundHttpException in RouteCollection.php line 161". So it looks like the Laravel routes cannot find the Angular pages? I thought that all routing after the main page is done by Angular? The code for that is : var myApp = angular.module('myApp', ['ngRoute', 'ngCookies']); myApp.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) { $routeProvider.when('/', { templateUrl: 'templates/users/login.html', controller: 'userController' }); $routeProvider.when('/dashboard', { templateUrl: 'templates/users/dashboard.html', controller: 'userController' }); $routeProvider.when('/logout', { templateUrl: 'templates/users/logout.html', controller: 'userController' }); $routeProvider.otherwise('/'); } I have been looking at this for some time now but I can't find the error. Also; I don't want to just copy all your source code because I am supposed to learn about Angular by doing, not by copying... ;) Please advise? Rob.
Update : I have debugged the code and I put a breakpoint in userController.js just before the code. It gets there without any problem. There is however no code in that function as you supplied none. Does this mean that the code is simply not complete? That the controller works but does not do anything? If so; why does your example show the three pages but mine does not?
Ok, this was NO fun at all... I just spent hours and hours debugging this exercise and the only(!!) thing that solved the problem was an edit of master.blade.php. You have written "" , this does not work on my PC with Laravel 5.3 and Angular 1.2.3 What does work, is . I moved the ng-app directive and the pages now do work. I suspect that the ng-app="myApp" directive does not work in the html-tag because Angular has not yet been loaded at that time. But what do I know... Why Is This?? Did something change after this video was made??
hello sir, please help me. i have created laravel angular app but the problem is using laravel as combined backand and frontend is complex where i put @angular directory in the public folder and use laravel as backend... Instead i want to do this thing .... Create tow seperate directory called Frontend and Backend where i install laravel 5.3 in backend and angular 2 in Frontend.. will it have any performance issue ??? tried to do apache benchmark, got almost same result while fetching data from api endpoint. but still want to have some more opinion.. :)
having them separate vs keeping them together can impact. But there are few important things to consider and I think keeping both separate has a slight advantage 1. You back end code is only responsible for the API. No front end logic is required. No view level thing. 2. Your front end app is HTML based, so generally you are saving PHP execution on pages where there is no database activity. Let's say login page will only have HTML which can be server by Node and Apache. Where as in Laravel it will be Apache, Php both. 3. Later on, if you app is trying to support Web plus mobile... your backend code is already geared for that. So yes, this is my personal view and I feel the two different app can be a good thing specially because now a days the entire paradigm is Front end with REST calls to Back end.
Hey friend, do you know why my routes look like this: localhost:8000/siteadmin#/login, localhost:8000/siteadmin#/, and not with /#/? App works out pretty well but that bothers me :(
Does that master.blade.php file have to be a blade file in order to pull in the bower dependencies, or is there a way to do it with just a plain html file as well?
+magnetopenguino Plain HTML file will do. See bower is not at all related to Laravel. So, blade or not doesn't really matter. The only thing is.. you need a bower.json file which will be used to pull the dependencies. Once that is done, you need to make sure the master.blade.php file is referencing to the JS files correctly.
Hi, I too had the same issue. Thanks Amitav. I solved it by cross-checking it by your github code. I just had to change the view from 'welcome' to 'master'. Route::get('/', function () { return view('master'); });
Can you make a video how did you get the bower.json? I mean from the installation of laravel and angular.. I hope I could get an answer soon or later.. I'm new in Laravel angular.
Hi Vincent, I would strongly suggest that if you are new to Angular then do re-look whether you want to learn Angular 1 or Angular latest version or even Vuejs for that matter. This is a tutorial from 2015 when Angular 2 was I think not introduced and Angular 1 was not on NPM I guess. In the current flow, it's best that we use the power of NPM and use the moder frameworks like Angular 2 or Vuejs. Vuejs for me is the personal favourite. Let me know if this makes sense.
+Rifqi Fardi Pradhana Well the root of any laravel project when it comes to assets, js should be public. It's only the public folder where the apache will be pointed to in terms of access to the site. Public folder has the index.php file. Rest all are one folder up and should be never visible / access to outside world.
There is master blade file... Which is calling a view file which is running an ng-view and that is calling the HTML view files. That's how it is structured.
+Nima Abbasi The master blade file is inside resources/views folder which you can locate on this url from Git repo: github.com/amitavroy/learningl5/blob/master/resources/views/master.blade.php. In that you will see that I am doing ng-view to load the HTML files which are used as page templates for Angular routes. You should refer to the code base and you will find all the details.
I agree. But this video has taken too much. Why not list steps of what we need to do and then show audience how it is achieved. What you do back to back seems long and lost in video.
Bro really love your tutorials. You are improving myskills.Just want to know what is the use of gulp, bower. All i know is bower is used to download js files/packages. But how to use them in main blade or views.
bower is only to download packages. We just need to make sure we use / reference the correct file. gulp is much like grunt. Task automation can be done through this like CSS / JS minification etc
HI Amit I am new to this tutorial. I have been working to get all steps right but, some how, I am not able to get things correctly. When I load localhost/shalomlaravel21/public/#/ I just get LARVEL 5 but not login . Need assistance. Thanks in advance
can you share your code on github so that I look take a look. This is angular 1 and hence I would need to check the code and only then find out... ideally if you are just learning, i would strongly suggest look at the newer frameworks which are right now popular in the market like Vue.js may be. There are ample of videos on that as well. But if that is not possible, do share the code, I will take a look and let you know.
HI Amit Thanks for the response . I have posted my code in github name is shalomraja. you can see my code there.Please do let me know the correction you have done. The valuable suggestion regarding vue.js is some thing I need to look into hence thanks for Advice. Shalom
No doubt your tutorial is too good.. But I stucked every time i see new thing you are using. Dont know why are u using too much dependencies bower, gulp, git etc blah blah.. I just want the simple laravel login application with angular as front end. I seems silly coz not knowing all these but trust me your first 6 min took mine 3-4 hrs to understand what are all these and why are u using these and how to set up these to work in windows.. I m still in the middle and unaware of further problems. This tutuorial thought me many things but just a single question. I have never used so many JS frameworks. At local server it is fine, but i have no idea how to setup these things to work on remote server side. Any advices.. ??
Hi Rajan, The web is a fast changing place and things are changing very fast and so I learn new things on a regular basis and that's what I demonstrate through my videos. For gulp - you need to understand the advantage of using gulp and then you won't even ask me this question. Minification of js files is something which is very much an essential thing for any angular app and gulp does that easily. Rest of the things that you mentioned have their own advantages as well. But yes, if you are stuck somewhere... Drop a comment. I generally reply quickly :) Happy coding
+Amitav Roy Thanks for the instant reply sir.. Actually sir i m not able to install gulp. I have tried installing it globally, locally, in the current folder, it installed fine but always giving the same error. H:\Binary ginx\foobar.com>gulp module.js:340 throw err; ^ Error: Cannot find module '.\vendor\laravel\elixir\Elixir' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (H:\Binary ginx\foobar.com\Gulpfile.js:1:76) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
+Rajan Verma That is resolved.. But now i have problem fetching the url. I m using wamp server. First that the 8090 port doesn't work for me, it is 8080 in my case but it always redirects to php default index file. If you have no problem . Can u mail plz mail me the source code .. I m planning to do from start.
+Rajan Verma I would suggest you spend some time and setup Homestead on your PC instead of using WAMP. Homestead has everything configured correctly and so you will save a lot of time in solving configuration issues.
+Amitav Roy While running vagrant up command while setting homestead i got this error.. Could u help me?? I search a lot but couldn't find useful. ERROR: There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["import", "C:/Users/Rajan Verma/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.4.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "settler_default_1450537466009_24656_1452080177546_94854", "--vsys", "0", "--unit", "8", "--disk", "C:\\Users\\Rajan Verma\\VirtualBox VMs\\settler_default_1450537466009_24656_1452080177546_94854\\box-disk1.vmdk"] Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting C:\Users\Rajan Verma\.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\0.4.0\virtualbox\box.ovf... OK. 0%...10%...20%... Progress state: VBOX_E_FILE_ERROR VBoxManage.exe: error: Appliance import failed VBoxManage.exe: error: Could not create the imported medium 'C:\Users\Rajan Verma\VirtualBox VMs\settler_default_1450537466009_24656_1452080177546_94854\box-disk1.vmdk' (VERR_VD_VMDK_INVALID_FORMAT) VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp
Yeah.. these videos are some of the early videos where I was still figuring out the right configuration and volume levels... I think for the new videos, you will find the volume comfortable.
Can you check some of the recent videos that I have uploaded and let me know if that's fine. Yes, it's a quite old video and that was the time when I was just learning how to improve the overall quality of videos.
Hey, these videos are quite old and yes I just started that time and hence was a little sloppy. Can you check some of the recent videos and let me know? Thanks for the constructive feedback. It helps me improve.
my bower file is not working , i get the components folder but nothing is added to my bower jason file ... i wish you had start this great series from scratch
I am getting myApp is not defined error. Also angular is not defined error too. Cross checked with your git code. Seems fine. From where should I start my debugging ? any clue ?
Check if ur ng-app and the app name are same. share some code to check
I had the same problem, in my case the first line in app.js was wrong commented
same problem here as with the previous people. How do I access the master.blade.php file?
When I do php artisan serve, I get to localhost:8000 with the Laravel Home Page
Also, when I replace the code inside of master.blade.php into welcome.blade.php I get this error:
FatalErrorException in 2aab1ecdc9ebb5e37b6172ac1999730424581a05.php line 11:
parse error
Line 11:
Thank you
You should be able to put your master.blade.php file in the resources->views directory, and then in the routes.php file under app->http the route that says Route::get('/',.... should be set to point to your master.blade.php file. This can be done directly by putting a function in the route, or better by linking the route to a controller, like Route::get('/', 'ControllerName@methodName'); and then within that method of that controller you would call the master file
Too old... archiving
I've very carefully followed your steps and rechecked everything many times. But when I load the '/#/' or any of the angular pages, all I get is the default Laravel welcome screen. Any suggestions?
+Ahmed Mamdouh Well sure I would help you out. How about sharing the code on github maybe.
+Amitav Roy okay :)
+Amitav Roy it's okay now i fix it, thank u for ur reply :) .
Good to know you were able to find the fix
How you fix it?
Hi!
Thank you for sharing nice video tutorial.
I have some issues when I tried follow your step in this video, but it's okay all issues already solved after several times keep rewind you video..
Just some feedback/ suggestion from me, could you give us more details for steps in video such as how you create this project because I just figured it out you've been doing another steps such as do npm install so there's a folder node_modules and many steps that I think you should explain clearly like why the main page in your video and fresh laravel install is different (there's no step explain you did change the controller and create template folder which all files on it).
Over all my feedback you did awesome things Sir!
Thank you.
Hi Yusuf, thanks for the feedback. If you have any difficulty following the tutorial and about the setup of the application, feel free to question me on that. And yes, I will keep that in mind. Last but not the least, call me Amitav.
I want to follow this tutorial video, because it is well covered, however I did not understand, how do we do to make the pages of this in the "template" folder appears in the browser, because the mine has the "Welcome.blade.php" in the route and when I replace it with "master" only appears what is in it. I want to know how do I access the dashboard login and logout page ...? thank you!!
Hey Key Pereira: You have to understand that there are two types of template working here one is the blade.php file which is the server side template and that will load only once. After that, the templates inside the public/templates folder comes into play which Angular JS will load. The main .blade.php file has ng-view which is loading all the HTML templates. I hope you will be able to understand it now.
Thank you for answering me so fast, that is motivating Despite being new in this laravel´s world, but I'm very interested. And I already understand the logic of this system, but I think in my implementation is missing some file, but I will try to resolve it. Keep it up with this dynamic. I will follow you!
I really appreciate your tutorial as I am committing to using Angular with Laravel 5.1. I've very carefully followed your steps and rechecked everything many times. But when I load the '/#/' or any of the angular pages, all I get is the default Laravel welcome screen. Any suggestions? Is there something I need to remove or change with the default Laravel app/http/routes or . . .? Thank you in advance
+Bruce Betts I need to check the code to understand the problem
Amitav - wow! very fast reply. I sent you my dev via a dropbox invite to your reachme email address. I hope this is appropriate.
bb :)
Yes I got you drop box request. Will check this tomorrow, it's quite late now.
Cheers
+Amitav Roy btw, I changed the '/' to master just before I zipped the file - it was originally 'welcome' which takes me to the standard Laravel page.
+Bruce Betts is this already answered? Having the same problem
I have a problem here...
I have a Laravel 5.3 framework with AngularJS 1.x and I have followed ALL the instructions in this video.
My routes-file(web.php) just contains :
Route::get('/', function () {
return view('master');
});
and I can get to the front page(master.blade.php).
When I type anything like "angularlaravel.dev/dashboard" in the browser I get
"NotFoundHttpException in RouteCollection.php line 161".
So it looks like the Laravel routes cannot find the Angular pages? I thought that all routing after the main page is done by Angular? The code for that is :
var myApp = angular.module('myApp', ['ngRoute', 'ngCookies']);
myApp.config(['$routeProvider', '$locationProvider',
function ($routeProvider, $locationProvider) {
$routeProvider.when('/', {
templateUrl: 'templates/users/login.html',
controller: 'userController'
});
$routeProvider.when('/dashboard', {
templateUrl: 'templates/users/dashboard.html',
controller: 'userController'
});
$routeProvider.when('/logout', {
templateUrl: 'templates/users/logout.html',
controller: 'userController'
});
$routeProvider.otherwise('/');
}
I have been looking at this for some time now but I can't find the error. Also; I don't want to just copy all your source code because I am supposed to learn about Angular by doing, not by copying... ;)
Please advise?
Rob.
Update : I have debugged the code and I put a breakpoint in userController.js just before the code. It gets there without any problem. There is however no code in that function as you supplied none.
Does this mean that the code is simply not complete? That the controller works but does not do anything? If so; why does your example show the three pages but mine does not?
Further update(for future puzzlers) :
userController.js:7 Uncaught ReferenceError: myApp is not defined(…)
Now for the solution.
Ok, this was NO fun at all...
I just spent hours and hours debugging this exercise and the only(!!) thing that solved the problem was an edit of master.blade.php.
You have written "" , this does not work on my PC with Laravel 5.3 and Angular 1.2.3
What does work, is .
I moved the ng-app directive and the pages now do work.
I suspect that the ng-app="myApp" directive does not work in the html-tag because Angular has not yet been loaded at that time. But what do I know...
Why Is This?? Did something change after this video was made??
Too old, archiving...
hello sir, please help me. i have created laravel angular app but the problem is using laravel as combined backand and frontend is complex where i put @angular directory in the public folder and use laravel as backend... Instead i want to do this thing ....
Create tow seperate directory called Frontend and Backend where i install laravel 5.3 in backend and angular 2 in Frontend.. will it have any performance issue ??? tried to do apache benchmark, got almost same result while fetching data from api endpoint. but still want to have some more opinion.. :)
having them separate vs keeping them together can impact. But there are few important things to consider and I think keeping both separate has a slight advantage
1. You back end code is only responsible for the API. No front end logic is required. No view level thing.
2. Your front end app is HTML based, so generally you are saving PHP execution on pages where there is no database activity. Let's say login page will only have HTML which can be server by Node and Apache. Where as in Laravel it will be Apache, Php both.
3. Later on, if you app is trying to support Web plus mobile... your backend code is already geared for that.
So yes, this is my personal view and I feel the two different app can be a good thing specially because now a days the entire paradigm is Front end with REST calls to Back end.
Hey friend, do you know why my routes look like this: localhost:8000/siteadmin#/login, localhost:8000/siteadmin#/, and not with /#/? App works out pretty well but that bothers me :(
I guess your app is being bootstrapped on a route which is /siteadmin.
Does that master.blade.php file have to be a blade file in order to pull in the bower dependencies, or is there a way to do it with just a plain html file as well?
+magnetopenguino Plain HTML file will do. See bower is not at all related to Laravel. So, blade or not doesn't really matter.
The only thing is.. you need a bower.json file which will be used to pull the dependencies. Once that is done, you need to make sure the master.blade.php file is referencing to the JS files correctly.
Hi, I too had the same issue. Thanks Amitav. I solved it by cross-checking it by your github code. I just had to change the view from 'welcome' to 'master'.
Route::get('/', function () {
return view('master');
});
Good to know. Happy coding.
Can you make a video how did you get the bower.json? I mean from the installation of laravel and angular.. I hope I could get an answer soon or later..
I'm new in Laravel angular.
Hi Vincent, I would strongly suggest that if you are new to Angular then do re-look whether you want to learn Angular 1 or Angular latest version or even Vuejs for that matter. This is a tutorial from 2015 when Angular 2 was I think not introduced and Angular 1 was not on NPM I guess.
In the current flow, it's best that we use the power of NPM and use the moder frameworks like Angular 2 or Vuejs. Vuejs for me is the personal favourite.
Let me know if this makes sense.
ok. thanks
Good Tutorial, thank you. But Sir, will you please make the font size bigger and the theme color of your editor lighter in the next one?
Thanks for the feedback.
little confuse at structure folder for asset. are u not use .bowerrc at root project?
+Rifqi Fardi Pradhana Well the root of any laravel project when it comes to assets, js should be public. It's only the public folder where the apache will be pointed to in terms of access to the site. Public folder has the index.php file. Rest all are one folder up and should be never visible / access to outside world.
Hi I am getting this error when I run my application .Use of undefined constant bower_components - assumed 'bower_components'
+N.sundar I think you are making some basic mistake of path some where. Check that
Would it be possible to use the Laravel Blade templating instead of html pages in $routeProvider?
Too old hence archiving...
how do you GO to the master.html file , I keep coming to laravel5 page ???
thanks
There is master blade file... Which is calling a view file which is running an ng-view and that is calling the HTML view files. That's how it is structured.
+Amitav Roy Where is this master blade file ? why not shown in the video then
thanks
+Nima Abbasi The master blade file is inside resources/views folder which you can locate on this url from Git repo: github.com/amitavroy/learningl5/blob/master/resources/views/master.blade.php. In that you will see that I am doing ng-view to load the HTML files which are used as page templates for Angular routes.
You should refer to the code base and you will find all the details.
waiting for more tutorials on laravel & angularjs from ur side :)
+Ranjeet Srinivas next one is coming soon..
which sublime theme and font do u use.
its nice.
don't remember very well.. but material design with i think facebook theme
ya found that
its its facebook material design theme.
thanks
Hello what theme and color theme use?
+Javier Montalvo It's Material theme with Facebook color theme.
+Amitav Roy ok thanks good job
I must say, you have art to make simple thing look complicated.
Which part feels complicated to you?
Any initial setup can seem to be a bit overwhelming
I agree. But this video has taken too much. Why not list steps of what we need to do and then show audience how it is achieved. What you do back to back seems long and lost in video.
i cant find gulfile.js in my laravel project directory
Too old... archiving
Whats your sublime text theme?
+Akshay Nair The theme is Material design and color scheme is facebook
Followed all the steps, but ng-view doesn't show anything.
Too old... archiving
Bro really love your tutorials. You are improving myskills.Just want to know what is the use of gulp, bower. All i know is bower is used to download js files/packages. But how to use them in main blade or views.
bower is only to download packages. We just need to make sure we use / reference the correct file.
gulp is much like grunt. Task automation can be done through this like CSS / JS minification etc
How to create power.json file... plz reply
Power json... I haven't worked with it. Haven't even heard
@@amitavroydev Bower.json
Hi Amitav, Can you upload the source code somewhere for reference.Thanks a lot.
+Mark S. Here you go: github.com/amitavroy/learningl5
sir can you please give the github link for this code ????
archiving
a video to clear up the development set up would be great for angular 2
Too old, archiving
please make an update to this AngularJS with Laravel 5.7
ok
+1, waiting the rest.
by the way, the volume is too low! Can you make it higher in the next tuts?
thanks and waiting...
Too old... archiving
Thanks for the feedback
??Are you using angular 1 or 2
It's in Angular 1 my friend.
nice Tutorial, can i request a copy of this project? or a link from git?
use this github.com/amitavroy/learningl5
Thank you so much,
Please make the font size bigger,.....
+Nelson o mesmo Have done that in future videos
Can i just skip this specific video because I had already downloaded the angular.min.js file from the angular website
Too old... archiving
thanks for a new tutorial
Thanks
getting Task function must be specified error gulpfile
too old
HI Amit I am new to this tutorial. I have been working to get all steps right but, some how, I am not able to get things correctly. When I load localhost/shalomlaravel21/public/#/ I just get LARVEL 5 but not login . Need assistance. Thanks in advance
can you share your code on github so that I look take a look. This is angular 1 and hence I would need to check the code and only then find out... ideally if you are just learning, i would strongly suggest look at the newer frameworks which are right now popular in the market like Vue.js may be. There are ample of videos on that as well.
But if that is not possible, do share the code, I will take a look and let you know.
HI Amit
Thanks for the response . I have posted my code in github name is shalomraja. you can see my code there.Please do let me know the correction you have done.
The valuable suggestion regarding vue.js is some thing I need to look into hence thanks for Advice.
Shalom
Hi
Amit,
I have shared my code in github name is shalomraja. Thanks
Where do the elixir shit comes from?
In the old version (before mix) elixir use to come with Laravel out of the box
work only on 5.3 not 5.4 or .5 or .6
Things have changed a lot from 2015 my friend. It's quite possible
No doubt your tutorial is too good.. But I stucked every time i see new thing you are using. Dont know why are u using too much dependencies bower, gulp, git etc blah blah.. I just want the simple laravel login application with angular as front end. I seems silly coz not knowing all these but trust me your first 6 min took mine 3-4 hrs to understand what are all these and why are u using these and how to set up these to work in windows.. I m still in the middle and unaware of further problems. This tutuorial thought me many things but just a single question. I have never used so many JS frameworks. At local server it is fine, but i have no idea how to setup these things to work on remote server side. Any advices.. ??
Hi Rajan,
The web is a fast changing place and things are changing very fast and so I learn new things on a regular basis and that's what I demonstrate through my videos.
For gulp - you need to understand the advantage of using gulp and then you won't even ask me this question. Minification of js files is something which is very much an essential thing for any angular app and gulp does that easily.
Rest of the things that you mentioned have their own advantages as well. But yes, if you are stuck somewhere... Drop a comment. I generally reply quickly :)
Happy coding
+Amitav Roy Thanks for the instant reply sir.. Actually sir i m not able to install gulp. I have tried installing it globally, locally, in the current folder, it installed fine but always giving the same error.
H:\Binary
ginx\foobar.com>gulp
module.js:340
throw err;
^
Error: Cannot find module '.\vendor\laravel\elixir\Elixir'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (H:\Binary
ginx\foobar.com\Gulpfile.js:1:76)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
+Rajan Verma That is resolved.. But now i have problem fetching the url. I m using wamp server. First that the 8090 port doesn't work for me, it is 8080 in my case but it always redirects to php default index file. If you have no problem . Can u mail plz mail me the source code .. I m planning to do from start.
+Rajan Verma I would suggest you spend some time and setup Homestead on your PC instead of using WAMP. Homestead has everything configured correctly and so you will save a lot of time in solving configuration issues.
+Amitav Roy While running vagrant up command while setting homestead i got this error.. Could u help me?? I search a lot but couldn't find useful.
ERROR:
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "C:/Users/Rajan Verma/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.4.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "settler_default_1450537466009_24656_1452080177546_94854", "--vsys", "0", "--unit", "8", "--disk", "C:\\Users\\Rajan Verma\\VirtualBox VMs\\settler_default_1450537466009_24656_1452080177546_94854\\box-disk1.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\Rajan Verma\.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\0.4.0\virtualbox\box.ovf...
OK.
0%...10%...20%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\Rajan Verma\VirtualBox VMs\settler_default_1450537466009_24656_1452080177546_94854\box-disk1.vmdk' (VERR_VD_VMDK_INVALID_FORMAT)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp
thank you
👍
As much as I like these videos, the volume is WAY too low and perhaps you should keep the mike closer?
Thank you.
Yeah.. these videos are some of the early videos where I was still figuring out the right configuration and volume levels... I think for the new videos, you will find the volume comfortable.
Thanks.
Kindly change your mic, or check your mic
Can you check some of the recent videos that I have uploaded and let me know if that's fine. Yes, it's a quite old video and that was the time when I was just learning how to improve the overall quality of videos.
Amitav Roy ok I’ll
Thanks
fix the sound bro :( :'(
archiving
I will never understand why getting to the f** point is so hard for some people...
archiving
His mic control is real bad
Hey, these videos are quite old and yes I just started that time and hence was a little sloppy.
Can you check some of the recent videos and let me know?
Thanks for the constructive feedback. It helps me improve.
wtf, use angularjs but don't use angular-bootstrap
Too old, archiving...
i am already stuck on setting up my project with bower :(
+Nab Aus why what happened? Bower is working fine on your pc? or there is some issue with the setup.
my bower file is not working , i get the components folder but nothing is added to my bower jason file ... i wish you had start this great series from scratch
+Nab Aus why don't you start by directly running the command bower install angular.. see if the library is downloaded correctly
i end up landing on laravel page not my angular page , how did you set up the 8090 port ???
thanks
Well I am running the app through php artisan serve --port=8090 which will launch the app on that port... But is that where you are stuck?
I can donate you some cash to buy a new loud mic.
Sorry my friend. It is an old video when I didn't have a mic. Check out the latest videos. I think you will find that better. Sorry for the trouble