通过示例可以看出文本渲染的语法{{}}无法使用在HTML元素的属性上,无法解析,
并且Vue报错:
href="{{website}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.
中文翻译,属性插值被删除了,使用v-bind或者缩写方式代替。
v-bind的缩写方法就是只保留冒号.