@braid/vue-formulate

中文文档
2.5.3发布于 2022/01/21MITESM + CJS近 30 天下载 3.2万

The easiest way to build forms in Vue.

原始使用文档
文档目录4 节
  1. What is Vue Formulate?
  2. Key features
  3. Contributing
  4. License

VueFormulate

npm GitHub

Documentation Website

What is Vue Formulate?

Vue Formulate is the easiest way to build forms with Vue. Please read the comprehensive documentation for live code examples and guidance on using Vue Formulate in your own projects.

Key features

😎 Developer happiness

Forms are everywhere, yet surprisingly tedious to author — well, not anymore. Vue Formulate provides a powerful and flexible API to developers that makes complex form creation a breeze.

☝️ A single input element

With Vue Formulate you don't need to remember the names of a dozen components — all form elements are created with a single component. Easy!

💪 Grouped fields

Vue Formulate ships with repeatable field groups out of the box. Create complex UIs such as multi-person booking forms with ease.

🎯 Built-in validation

Ridiculously easy validation out-of-the-box to handle 95% of use-cases. Help text, validation rules, and validation messages are simple props. Need more? You can add custom validations too.

🔌 Plugin system

Extend Vue Formulate's functionality or reuse custom inputs, validation rules, and messages across projects by tapping into the plugin system. Make your plugin open source to share with others!

✨ Generate forms

Generate an entire form from JSON. Vue Formulate includes a schema to allow you to render complex forms from JSON with groups, wrappers, and custom components.

🎨 Styling Control

With provided class props you can add your own set of style classes globally or on a case-by-case basis. Tailwind? No problem. Bootstrap? You're covered. Roll your own? Right on, it’s supported.

🔍 Scoped Slots

Need even more control over your form’s markup? Vue Formulate ships with full scoped slots support so that you can globally or selectively provide your own markup.

🌐 Internationalization

Thanks to the wonderfully collaborative Vue community, Vue Formulate ships with support for over a dozen languages which are selectively importable to keep bundle size light.

These features and many more are covered thoroughly at the documentation website.

Contributing

Vue Formulate is and always will be free and open source. There are many ways available for you to contribute to Vue Formulate.

Core Codebase Contributors

This project exists thanks to all the people who volunteer their time to contribute

Localization Contributors

Vue Formulate is translated into different languages by volunteer native language speakers. Localizations are located in the Vue Formulate Internationalization repo.

License

MIT

Copyright (c) 2020-present, Braid LLC

版本与发布记录

@braid/vue-formulate 共发布 43 个版本,首次发布于 2020/02/19;过去 12 个月发布了 0 个版本。

版本发布日期距今
2.5.3latest2022/01/214 年前
2.5.22021/03/065 年前
2.5.12021/03/035 年前
2.5.02021/01/155 年前
2.4.52020/10/056 年前
2.4.42020/09/226 年前

其他发布通道:alpha → 2.0.0-alpha.3。

关于 @braid/vue-formulate 的常见问题

@braid/vue-formulate 是什么?

The easiest way to build forms in Vue.

如何安装 @braid/vue-formulate?

在项目目录运行 npm install @braid/vue-formulate,或使用 pnpm add / yarn add / bun add。

@braid/vue-formulate 支持 TypeScript 吗?

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

@braid/vue-formulate 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@braid/vue-formulate 可以商用吗?

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

@braid/vue-formulate 的下载量有多少?

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

@braid/vue-formulate 还在维护吗?

最新版本 2.5.3 发布于 2022/01/21(4 年前);至今共发布 43 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/02/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。