@formio/grid

中文文档
2.4.5发布于 2026/11/14MITCommonJS近 30 天下载 6716

The core Form.io grid.

原始使用文档
文档目录4 节
  1. Steps to test Grid
  2. Steps for Build Formio Grid
  3. Auto
  4. Manually

Form.io Grid

Steps to test Grid

  1. Run yarn install && yarn build
  2. Start a server in the root of this project live-server --port=8000 or python3 -m http.server 8000
  3. Navigate to http://localhost:8000
  4. Test sorting, filtering on the DataTable image

Steps for Build Formio Grid

  • On master
  • update Changelog.md& package.json version
  • From grid repo runn the following
    • yarn install
    • npm-check -u
      • del should be 6.1.1
    • yarn build
  • Commit changes
git add -A
git commit -m "Updated build."
git push origin master
## Create tag
git tag $TAG
git push origin $TAG
## Publish to PKG
npm publish --registry=https://pkg.form.io --tag=rc

Auto

  • Run yarn deploy:test

Manually

  • Go to bucket and cdn.test-form.io
  • Go to grid/
  • Upload the min files in dist
    • formio.grid.min.css
    • formio.grid.min.js
  • Under permissions update Predefined ACLS's to Grant public-read acces
  • Then in cloudfront create an invalidation for cdn.test-form.io

版本与发布记录

@formio/grid 共发布 21 个版本,首次发布于 2025/11/01;过去 12 个月发布了 20 个版本。

版本发布日期距今
2.4.5latest2026/11/142 天前
2.4.42026/09/231 个月前
2.4.32026/09/171 个月前
2.4.22026/08/272 个月前
2.4.1-pdf515.02026/08/113 个月前
2.4.12026/08/113 个月前

关于 @formio/grid 的常见问题

@formio/grid 是什么?

The core Form.io grid.

如何安装 @formio/grid?

在项目目录运行 npm install @formio/grid,或使用 pnpm add / yarn add / bun add。

@formio/grid 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/formio__grid 是否存在。

@formio/grid 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@formio/grid 可以商用吗?

@formio/grid 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@formio/grid 的下载量有多少?

根据 npm 官方下载统计,@formio/grid 在 2026/10/16 – 2026/11/14 这 30 天内被下载 6,716 次,日均约 224 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@formio/grid 还在维护吗?

最新版本 2.4.5 发布于 2026/11/14(2 天前);至今共发布 21 个版本,其中过去 12 个月发布了 20 个;首次发布于 2025/11/01。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。