Vue2.0 returns to sort components by backend

is that there is a demand now.

there are probably several components in a project, for example:

component A: guess you like
component B: limited time offer
component C: coupon list
component D: merchandise list

but these components can all be configured through the background, that is to say, their order is not necessarily AMagi BPM Cpend like this,

it is also possible that the order is uncertain. So what should the front end do? ask for advice. It would be better if there is a case

Dec.01,2021

in fact, it is very simple and straightforward to use the render function. Just take a look at the documentation and you can ide/render-function.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.

.

but it may be tiring to write, so try using the jsx plug-in in this vue, which is also the official
https://github.com/vuejs/babe.

.

solves

in the form of dynamic components of vue.
Menu