How can Vue.js add content to the template?

add content to the template, in addition to displaying the application of components, such as:

<template>
  <div>
    <child-component :data="data"></child-component>
  </div>
</template>

if you add components in this way, you can add template content. Is there any other way?

Feb.28,2021

take a look at the rendering function on the official website & JSX
ide/render-function.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.


  1. the beginning of the life cycle uses the native js operation dom to insert
  2. leverage subcomponents
  3. render function
  4. use solot
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37f46-2c0dd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37f46-2c0dd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?