npm i -g json-server. 可以通过查看版本号,来测试是否安装成功:. json-server -v. 创建db目录. mkdir my-json-server. cd my-json-server. 在此目录下创建json ...
確定! 回上一頁