template是必须的,而script与style都不是必须的
如果没有 template,则 [Vue warn]: Failed to mount component: template or render function not defined.
template是必须的,而script与style都不是必须的
如果没有 template,则 [Vue warn]: Failed to mount component: template or render function not defined.