D
D
developer0072019-02-18 10:50:39
Vue.js
developer007, 2019-02-18 10:50:39

When using rendered template(php) as vuejs template?

Let's take yii, laravel is not the point.
in the controller banal ->render("index"); ->render("account/index"); etc.
In these views there is a div with a certain id.
Further, if there is this div, then this div is taken as the template of the vuejs component. reactive logic is screwed.
i.e. this is not a SPA, but roughly speaking vuejs instead of jquery
does this have a name to google?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nvdfxx, 2019-02-18
@nvdfxx

just connect vue as a library via script on the necessary pages and describe the logic for the necessary components

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question