vue+express問題

Router.use() 問題描述 Router.use() requires a middleware function but got a Object 找到代碼: 原因: 某個js文件未在結尾處表明: module.exports = router; 解決辦法: 在你的任何一個js頁面中,你都補充 module.exports = router; 檢查並驗證所有JS頁面
相關文章
相關標籤/搜索