執行命令 npm install json-server -D 全域性安裝json-server. 專案根目錄下建立 mock 資料夾 ... "mock": "json-server --port 1995 mock/db.js",
確定! 回上一頁