Connect Vue.js and laravel [closed]
up vote
0
down vote
favorite
Greeting developers, I am a university student and really new to using frameworks. Currently, i done one project for my intern using laravel framework for back end.
Now i plan to do front end using vuejs framework.May i know how to connect the back end and front end. I see previous question in stack overflow there mention can connect using Rest api. May i know how it can happen.Furthermore, i also want to know which is better front end framework for laravel based back end framework angularjs or vuejs.
<html>Thanks in advance</html>
html laravel vue.js
closed as too broad by Azat Ibrakov, ChrisF♦ Nov 12 at 11:05
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
0
down vote
favorite
Greeting developers, I am a university student and really new to using frameworks. Currently, i done one project for my intern using laravel framework for back end.
Now i plan to do front end using vuejs framework.May i know how to connect the back end and front end. I see previous question in stack overflow there mention can connect using Rest api. May i know how it can happen.Furthermore, i also want to know which is better front end framework for laravel based back end framework angularjs or vuejs.
<html>Thanks in advance</html>
html laravel vue.js
closed as too broad by Azat Ibrakov, ChrisF♦ Nov 12 at 11:05
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Greeting developers, I am a university student and really new to using frameworks. Currently, i done one project for my intern using laravel framework for back end.
Now i plan to do front end using vuejs framework.May i know how to connect the back end and front end. I see previous question in stack overflow there mention can connect using Rest api. May i know how it can happen.Furthermore, i also want to know which is better front end framework for laravel based back end framework angularjs or vuejs.
<html>Thanks in advance</html>
html laravel vue.js
Greeting developers, I am a university student and really new to using frameworks. Currently, i done one project for my intern using laravel framework for back end.
Now i plan to do front end using vuejs framework.May i know how to connect the back end and front end. I see previous question in stack overflow there mention can connect using Rest api. May i know how it can happen.Furthermore, i also want to know which is better front end framework for laravel based back end framework angularjs or vuejs.
<html>Thanks in advance</html>
html laravel vue.js
html laravel vue.js
asked Nov 12 at 10:39
Almira Enterprise
132
132
closed as too broad by Azat Ibrakov, ChrisF♦ Nov 12 at 11:05
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Azat Ibrakov, ChrisF♦ Nov 12 at 11:05
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
To "connect" your app to a backend service (whatever Laravel/Express/RoR etc), you have to make HTTP calls to your backend server.
With VueJS, you can use Axios to make HTTP calls.
Example of usage:
axios.get('https://yourbackend.io/users/all').then(users => {
this.users = users;
});
About your last question, there's no "best framework" to use/learn along with any backend technology. However, if you want to see good resources for Laravel and VueJS, you can watch Laracast videos.
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
To "connect" your app to a backend service (whatever Laravel/Express/RoR etc), you have to make HTTP calls to your backend server.
With VueJS, you can use Axios to make HTTP calls.
Example of usage:
axios.get('https://yourbackend.io/users/all').then(users => {
this.users = users;
});
About your last question, there's no "best framework" to use/learn along with any backend technology. However, if you want to see good resources for Laravel and VueJS, you can watch Laracast videos.
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
add a comment |
up vote
0
down vote
accepted
To "connect" your app to a backend service (whatever Laravel/Express/RoR etc), you have to make HTTP calls to your backend server.
With VueJS, you can use Axios to make HTTP calls.
Example of usage:
axios.get('https://yourbackend.io/users/all').then(users => {
this.users = users;
});
About your last question, there's no "best framework" to use/learn along with any backend technology. However, if you want to see good resources for Laravel and VueJS, you can watch Laracast videos.
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
To "connect" your app to a backend service (whatever Laravel/Express/RoR etc), you have to make HTTP calls to your backend server.
With VueJS, you can use Axios to make HTTP calls.
Example of usage:
axios.get('https://yourbackend.io/users/all').then(users => {
this.users = users;
});
About your last question, there's no "best framework" to use/learn along with any backend technology. However, if you want to see good resources for Laravel and VueJS, you can watch Laracast videos.
To "connect" your app to a backend service (whatever Laravel/Express/RoR etc), you have to make HTTP calls to your backend server.
With VueJS, you can use Axios to make HTTP calls.
Example of usage:
axios.get('https://yourbackend.io/users/all').then(users => {
this.users = users;
});
About your last question, there's no "best framework" to use/learn along with any backend technology. However, if you want to see good resources for Laravel and VueJS, you can watch Laracast videos.
answered Nov 12 at 10:44
Zooly
2,75831839
2,75831839
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
add a comment |
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
really thank you for your answer. i will try it
– Almira Enterprise
Nov 12 at 11:00
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
If you need more explanation, don't hesitate to provide more code
– Zooly
Nov 12 at 11:01
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Since Laravel version 5.3, Vue.js has been the default frontend framework included in a Laravel installation. Vue and Laravel offer an immensely powerful and flexible full-stack framework for developing web applications.
– Hamilton Gabriel
Nov 12 at 11:15
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
Sure but it doesn't mean that you only have yo use it. But yes I agree this is a popular stack
– Zooly
Nov 12 at 11:16
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
@Zooly thanks a lot for your help :)
– Almira Enterprise
Nov 13 at 10:50
add a comment |