An open API service indexing awesome lists of open source software.

https://github.com/steedos/steedos-widgets

Amis Custom Components: Steedos ObjectGrid, Steedos ObjectForm、FullCalendar、ReactFlow、Kanban、AG-Grid、DevExteme Grid、DevExteme PivotGrid、DevExtreme Gantt。
https://github.com/steedos/steedos-widgets

Last synced: 6 months ago
JSON representation

Amis Custom Components: Steedos ObjectGrid, Steedos ObjectForm、FullCalendar、ReactFlow、Kanban、AG-Grid、DevExteme Grid、DevExteme PivotGrid、DevExtreme Gantt。

Awesome Lists containing this project

README

          

Steedos 前端资产包
===

## 快速开始

> 运行此项目应使用 Nodejs 18.x 版本。

### 编译资产包

```
yarn
yarn build
```

该命令会自动执行`packages`下每个项目的build指令编译打包。

### 启动unpkg服务

```
yarn unpkg
```

执行该命令可以把packages下的文件,即资产包文件公开为静态资源,可通过8080访问。

下面的Experience Webapp和storybook都依赖了该服务,每次修改packages下的源代码后需要手动执行 `yarn build` 编译资产包,这样8080端口公开的才是最新修改后的资产包内容。

启动远程开发环境会自动启动该服务。

### 调试资产包

在华炎魔方服务端,配置以下环境变量,可以将资产包指向开发环境:

```shell
# 资产包地址,需要配置为unpkg服务中assets-dev.json文件访问地址。
STEEDOS_PUBLIC_PAGE_ASSETURLS=http://127.0.0.1:8080/@steedos-widgets/amis-object/dist/assets-dev.json
```

Gitpod运行时环境变量配置示例:
```
STEEDOS_PUBLIC_PAGE_ASSETURLS=https://8080-steedos-steedoswebappne-pm96cp6i82c.ws-us73.gitpod.io/@steedos-widgets/amis-object/dist/assets-dev.json
```