npm install -g json-server. 查看版本号,安装成功 json-server -v 0.17.0. 二、创建db.json. 在文件夹下创建一个db.json文件,存放一些数据。
確定! 回上一頁