一.组件的3种使用方式
<body> <script type="text/x-template" id="component"> <div>This is a component!</div> </script> </body>
<body> <template id="component"> <div>This is a component!</div> </template> </body>
*.vue文件,用于单页/多页应用中,不同于以上两种全局组件。
如对本文有疑问, 点击进行留言回复!!
vue源码实战render.js与$nextTick的异步调用
同事牛逼啊,写了个隐藏 bug,我排查了 3 天才解决问题!
【JavaScript笔记(一)】万丈高楼平地起 - 基本概念篇
网友评论