📅  最后修改于: 2022-03-11 15:03:01.877000             🧑  作者: Mango
script(type="text/x-template" id="my-component")
div
(html goes here)
script.
var MyComponent= Vue.component({
"template": '#my-component',
});