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
貼一個在網上看到的文件目錄結構圖: