Dashboard 包含了 manager-api
与 web
两部分,因此需要分别启动开发环境。
在开发前,请参考该指南以安装依赖。
$ git clone -b v2.0 https://github.com/apache/apisix-dashboard.git
$ cd apisix-dashboard
请在 api/conf/conf.yaml
中修改配置信息。
在根目录下,启动开发模式
$ make api-run
$ make api-stop
web
目录。$ cd ./web
请在 config/proxy.ts
文件中修改 manager-api
地址。
启动开发模式
$ yarn install
$ yarn start