The writing syntax of a template is borrowed from VUE. After simplification, the template contains only three fields: <template>, <style>, and <script>.
<template> Field
The relevant logic for the template mode page layout should be placed within the <template></template> segment.
The elements supported within the template pattern <template> segment are determined by the Card component.
< style > Field
For more information about style support, see Style syntax.
< script > Field
The JS-related logic is placed in the script. For more information about JS-related capabilities, see JS Capabilities.