Non-nested routes must include a leading slash character、、非巢狀路由必須包含前導斜槓字元

yi只小阿帥丶發表於2020-10-25

vue-router.esm.js?4af9:16 [vue-router] Non-nested routes must include a leading slash character. Fix the following routes:瀏覽器報錯

瀏覽器提示錯誤

通常是非巢狀路由必須包含前導斜槓字元,說缺少斜槓
index.js 裡的path路徑書寫缺少前斜槓
這裡簡單記錄一下出錯位置= = 。。。

相關文章