https://github.com/arvinxx/airtable-app-template
AirTable App Template
https://github.com/arvinxx/airtable-app-template
airtable airtable-block template
Last synced: over 1 year ago
JSON representation
AirTable App Template
- Host: GitHub
- URL: https://github.com/arvinxx/airtable-app-template
- Owner: arvinxx
- License: mit
- Created: 2020-10-25T23:38:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-20T07:59:14.000Z (over 3 years ago)
- Last Synced: 2025-03-29T06:22:24.724Z (over 1 year ago)
- Topics: airtable, airtable-block, template
- Language: TypeScript
- Homepage:
- Size: 152 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AirTable App Template
[AirTable](https://airtable.com) App 开发模板
## 初始化
### 安装 `block` CLI
```
npm i -g @airtable/blocks-cli@2.0.0-beta.4
```
### 使用 `block init`
```shell script
# 将命令行中的 `blockId` 和 `baseId` 替换成对应值
# 将最末尾的 your_paths 改成目标路径
block init blockId/baseId --template=https://github.com/arvinxx/airtable-app-template your_paths
```
这个指令将直接初始化项目并自动安装依赖
### 手动初始化
如果不想使用 `block init` 也可以采用手动的方式初始化脚手架
先克隆项目
```shell script
git clone https://github.com/arvinxx/airtable-app-template your_paths
```
然后打开 `.block/remote.json`, 修改 `blockId` 和 `baseId`
举例:
```json
{
"blockId": "appwfwENHN3Daxd6w",
"baseId": "blkNL28deUVyBeaB3"
}
```
然后正常安装依赖进行开发即可
## 指南
### 开发
```shell script
npm start
```
### 发版
```shell script
npm release
```
## License
[MIT](./LICENSE) ® Arvin Xu