标签:htm src name charset 替代 ext meta AC device
用delimiters替代{{}}
<!DOCTYPE html>
<html>
<head>
<meta charset=
"utf-8"
>
<meta name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
</head>
<body>
<div id=
"app"
>
ccx num /ccx
</div>
</body>
<script src=
"js/vue.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script src=
"js/mb.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script>
var
vm =
new
Vue({
el:
"#app"
,
data: {
name:
"苹果"
,
price: 10,
num: 1
},
delimiters:[
‘ccx‘
,
"/ccx"
]
});
</script>
</html>
标签:htm src name charset 替代 ext meta AC device
原文地址:https://www.cnblogs.com/ydam/p/9217081.html