Tag:laravel
Article From:https://segmentfault.com/q/1010000012153457
Question:

vueIs the code written in the blade template? If it is not written in the template, how does the controller return the data to the front desk?

Answer 0:

Write your ownVue Components and inresources/assets/js/app.js Registration in which data can be obtained throughaxios The HTTP Suites request the backend interface.

Answer 1:

You can interface with it. You provide an interface for the front end to get data from your interface through Axios.

Link of this Article: How do you use Vue in laravel?

Leave a Reply

Your email address will not be published. Required fields are marked *