Vue启动调用的结构讲解

vue调用顺序: index.html → main.js → app.vue → index.js → components/组件 一般项目创建好会有三个文件: index.html、main.js、 app.vue 1.index.html: 所有的vue文件都是单页面形式开发,所有vue组件都是通过index.html进行渲染加载。 2. main.js: 入口函数,控制初次启动vue项目要
相关文章
相关标签/搜索