1、index.html
2、main.js
所有通用的组件都是在 main.js 里面引入的
3、app.vue
4、index.js
关于路由配置可以参考这个:
https://router.vuejs.org/zh/guide/essentials/dynamic-matching.html#%E5%93%8D%E5%BA%94%E8%B7%AF%E7%94%B1%E5%8F%82%E6%95%B0%E7%9A%84%E5%8F%98%E5%8C%96
贴一个在网上看到的文件目录结构图:
转载请注明原文地址: https://mac.8miu.com/read-484340.html