这里有几种标识
- 注意:如果使用驼峰标识cInfo,则在id='app’里面进行改变 c-info,其他位置不用改变,
- 以-分割 cInfo --> c-info cMyMessage --> c-my-message
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<div id="app">
<cpn :cinfo='info'></cpn>
</div>
<template id="cpn">
<h2>{