learn.md 605 B

2. 启动开发服务器(带 HMR)

yarn ls:dev

访问: http://localhost:8010

启动 Editor 独立模式

yarn lsf:serve

访问: http://localhost:3000

或者持续构建

yarn lsf:watch

cd web

1. 配置环境变量(可选)

在 web/libs/datamanager/ 创建 .env 文件

NX_API_GATEWAY=http://your-backend-api/api/dm

LS_ACCESS_TOKEN=your-token

2. 持续构建

yarn dm:watch

启动 Storybook(查看 UI 组件)

yarn ui:serve

访问: http://localhost:4400

方法 5:启动 Playground(实验环境)

yarn playground:serve

访问: http://localhost:4200