CLI 详解二:Runtime-Compiler和Runtime-only的区别
如果在之后的开发中,你依然使用template,就需要选择Runtime-Compiler
如果你之后的开发中,使用的是.vue文件夹开发,那么可以选择Runtime-only
runtime-compiler(v1) template -> ast -> render -> vdom -> UI runtime-only(v2)(1.性能更高 2.下面的代码量更少) render -> vdom -> UI
只需要index.html 中引用一下 el的属性即可 展示,App的内容