百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

hooks

> 前端框架
开源

"零" Api / 类型安全 / 全栈套件 / 强大的后端

686 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

"零" Api / 类型安全 / 全栈套件 / 强大的后端

功能全栈框架

  • ☁️ 最大化生产力和开发者体验,支持全栈开发和 API 服务
  • ⚡️ 全栈套件,支持 React/Vue/Svelte… 等多种框架
  • "零" API 数据层,从后端导入函数,直接调用 API,无需 AJAX 粘合层
  • ⛑️ 类型安全,使用前后端相同的类型定义,提前检测错误
  • 函数式编程,使用 Hooks 实现前后端的功能
  • ⚙️ 支持基于 Webpack/Vite 的项目
  • ✈️ 部署到服务器或无服务器环境
  • 基于 Midway,这是一个强大的 Node.js 框架,支持企业级应用程序开发
bash
…
``` ```
…
``` ## 模板 Midway Hooks 目前提供以下模板: - Fullstack - [React](https://github.com/midwayjs/hooks/blob/main/examples/react) - [vue](https://github.com/midwayjs/hooks/blob/main/examples/vue) - [Prisma](https://github.com/midwayjs/hooks/blob/main/examples/prisma) - [React-with-upload](https://github.com/midwayjs/hooks/blob/main/examples/react-with-upload) - Serverless - [React-faas](https://github.com/midwayjs/hooks/blob/main/examples/react-faas) - [vue-faas](https://github.com/midwayjs/hooks/blob/main/examples/vue-faas) - Api Server - [api](https://github.com/midwayjs/hooks/blob/main/examples/api) - [api-bundle](https://github.com/midwayjs/hooks/blob/main/examples/api-bundle) 您可以使用模板快速创建应用程序: ```bash
npx degit https://github.com/midwayjs/hooks/examples/
``` 例如,使用 React 创建一个全栈应用程序: ```bash
npx degit https://github.com/midwayjs/hooks/examples/react
``` 1. 创建一个分支: `git checkout -b my-new-feature` 2. 提交更改: `git commit -am 'Add some feature'` 3. 推送到分支: `git push origin my-new-feature` 4. 提交 Pull Request :D

我们 u

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptfrontendfullstackhooksmidway

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架