亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - What do "HTML template" and "string template" in the vue document mean?
伊謝爾倫
伊謝爾倫 2017-06-15 09:23:18
0
1
883

In the component naming convention chapter of the Vue official document, "HTML template" and "String template" are mentioned. What do they mean specifically?

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(1)
洪濤

HTML Template

HTML template should refer to native HTML, mounted to the Vue instance through el. As mentioned in the DOM-Template Parsing Instructions chapter, there are some limitations of HTML template parsing

<table>
  <my-row>...</my-row>
</table>

https://jsfiddle.net/hugaungj...

String Template

ie JavaScript inline template string

Vue.component('my-component', {
  template: '<p>A custom component!</p>'
})

They don’t refer to the same thing.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template