Combine Vue within Vue components to render HTML
P粉193307465
P粉193307465 2024-03-26 14:35:53
0
1
386

I'm trying to upgrade a project from Vue 2 to Vue 3, where I have a component that contains a collection of different Vue components.

The way it works in Vue 2 is to call the Twig template in Twig (eg: field.twig) and send it to Vue for compilation using the :is attribute and the Vue.compile method (

).

This is what the Twig template sends to Vue.

P粉193307465
P粉193307465

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!