forked from midwayjs/midway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (43 loc) · 15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Midway</title>
<meta name="description" content="面向未来的 Web 全栈应用开发框架">
<link rel="preload" href="/midway/assets/css/0.styles.fa8c08d7.css" as="style"><link rel="preload" href="/midway/assets/js/app.14fe5da9.js" as="script"><link rel="preload" href="/midway/assets/js/3.b00561a6.js" as="script"><link rel="prefetch" href="/midway/assets/js/10.abdcde9d.js"><link rel="prefetch" href="/midway/assets/js/11.07a451b7.js"><link rel="prefetch" href="/midway/assets/js/12.294f0379.js"><link rel="prefetch" href="/midway/assets/js/13.bd0415dc.js"><link rel="prefetch" href="/midway/assets/js/2.e3c16dc1.js"><link rel="prefetch" href="/midway/assets/js/4.686a1230.js"><link rel="prefetch" href="/midway/assets/js/5.a2910199.js"><link rel="prefetch" href="/midway/assets/js/6.421d4a32.js"><link rel="prefetch" href="/midway/assets/js/7.8904f0df.js"><link rel="prefetch" href="/midway/assets/js/8.2d8fb4cb.js"><link rel="prefetch" href="/midway/assets/js/9.807c7f01.js">
<link rel="stylesheet" href="/midway/assets/css/0.styles.fa8c08d7.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/midway/" aria-current="page" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">Midway</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">首页</a></div><div class="nav-item"><a href="/midway/guide.html" class="nav-link">使用文档</a></div><div class="nav-item"><a href="/midway/ioc.html" class="nav-link">依赖注入手册</a></div><div class="nav-item"><a href="/midway/tool_set.html" class="nav-link">工具集</a></div><div class="nav-item"><a href="/midway/ts_start.html" class="nav-link">TS 新手指南</a></div><div class="nav-item"><a href="http://midwayjs.org/midway/api-reference/globals.html" target="_blank" rel="noopener noreferrer" class="nav-link external">
API
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">MidwayJs 系列产品</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>框架</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">Midway - 面向未来的 Web 全栈框架</a></li></ul></li><li class="dropdown-item"><h4>应用管理</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="http://midwayjs.org/pandora/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Pandora.js - Node.js 应用管理器
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li class="dropdown-item"><h4>监控产品</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="https://github.com/midwayjs/sandbox-docker" target="_blank" rel="noopener noreferrer" class="nav-link external">
Sandbox - 私有化 Node.js 监控产品
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li class="dropdown-item"><h4>Node.js 依赖注入模块</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="http://midwayjs.org/injection" target="_blank" rel="noopener noreferrer" class="nav-link external">
Injection - 让你的应用用上 IoC,体验依赖注入的感觉
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">Languages</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">zh-CN</a></li><li class="dropdown-item"><!----> <a href="/midway/en/" class="nav-link">en-US</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">首页</a></div><div class="nav-item"><a href="/midway/guide.html" class="nav-link">使用文档</a></div><div class="nav-item"><a href="/midway/ioc.html" class="nav-link">依赖注入手册</a></div><div class="nav-item"><a href="/midway/tool_set.html" class="nav-link">工具集</a></div><div class="nav-item"><a href="/midway/ts_start.html" class="nav-link">TS 新手指南</a></div><div class="nav-item"><a href="http://midwayjs.org/midway/api-reference/globals.html" target="_blank" rel="noopener noreferrer" class="nav-link external">
API
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">MidwayJs 系列产品</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>框架</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">Midway - 面向未来的 Web 全栈框架</a></li></ul></li><li class="dropdown-item"><h4>应用管理</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="http://midwayjs.org/pandora/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Pandora.js - Node.js 应用管理器
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li class="dropdown-item"><h4>监控产品</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="https://github.com/midwayjs/sandbox-docker" target="_blank" rel="noopener noreferrer" class="nav-link external">
Sandbox - 私有化 Node.js 监控产品
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li class="dropdown-item"><h4>Node.js 依赖注入模块</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="http://midwayjs.org/injection" target="_blank" rel="noopener noreferrer" class="nav-link external">
Injection - 让你的应用用上 IoC,体验依赖注入的感觉
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">Languages</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/midway/" aria-current="page" class="nav-link router-link-exact-active router-link-active">zh-CN</a></li><li class="dropdown-item"><!----> <a href="/midway/en/" class="nav-link">en-US</a></li></ul></div></div> <!----></nav> <!----> </div> <div class="home"><div class="hero"><img src="https://img.alicdn.com/tfs/TB1k4.laW6qK1RjSZFmXXX0PFXa-237-237.png" alt="hero"> <h1>Midway</h1> <p class="description">
面向未来的 Web 全栈应用开发框架
</p> <p class="action"><a href="/midway/guide.html" class="nav-link action-button">快速上手 →</a></p></div> <!----> <div class="content custom"><div class="language-bash extra-class"><pre class="language-bash"><code><span class="token comment"># 安装脚手架工具</span>
<span class="token function">npm</span> <span class="token function">install</span> -g midway-init
<span class="token comment"># 新建应用</span>
midway-init
<span class="token comment"># 安装依赖</span>
<span class="token function">npm</span> <span class="token function">install</span>
<span class="token comment"># 启动服务</span>
<span class="token function">npm</span> run dev
</code></pre></div><div class="warning custom-block"><p class="custom-block-title">注意</p> <p>请确保你的 Node.js 版本 >= 10.16.0。</p></div> <div class="feats"><h2>特色功能</h2> <div class="item"><div class="col img"><img src="https://img.alicdn.com/tfs/TB1ZHxmbkvoK1RjSZPfXXXPKFXa-1281-714.png"></div> <div class="col"><h3>简洁至上</h3> <p>Midway 最大的特色是使用 IoC 机制将应用依赖管理起来,最大程度上帮助应用在 web 开发中提升可维护性和扩展性,在这一系列的增强下,开发者无需关注对象创建和销毁,把注意力集中在真正复杂的业务中。</p></div></div> <div class="item"><div class="col"><h3>面向未来</h3> <p>享受 Typescript 的开发体验,增强的语法和各种面向接口编程,让用户提前享受到便利。通过装饰器和依赖注入的通用能力,让应用开发变的流畅自然,便于多人沟通协作,可以专注业务逻辑编码,减少依赖错误。</p></div> <div class="col img"><img src="https://img.alicdn.com/tfs/TB1iwVvbgHqK1RjSZJnXXbNLpXa-1263-998.png"></div></div> <div class="item"><div class="col img"><img src="https://img.alicdn.com/tfs/TB10xVzbkzoK1RjSZFlXXai4VXa-1373-984.png"></div> <div class="col"><h3>拥抱社区</h3> <p>兼容社区 koa 中间件以及各种 Eggjs 插件,方便用户快速上手和迁移,降低开发和部署成本。同时我们也提供了各种工具帮助用户快速上手,IoC 模块可独立使用,方便迁移到不同的框架和平台。</p></div></div></div> <div class="footer-container"><div class="col"><dl><dt>Github</dt> <dd><a href="https://github.com/midwayjs" target="_blank">MidwayJs 团队</a></dd></dl></div> <div class="col"><dl><dt>社区化</dt> <dd><a href="https://github.com/midwayjs/midway/releases" target="_blank">Change log</a></dd> <dd><a href="https://github.com/midwayjs/midway/issues" target="_blank">Issues</a></dd></dl></div> <div class="col"><dl><dt>常用链接</dt> <dd><a href="http://opensource.alibaba.com/" target="_blank">Alibaba 开源平台</a></dd> <dd><a href="http://taobaofed.org/" target="_blank">Taobao FED 团队博客</a></dd> <dd><a href="http://www.typescriptlang.org/" target="_blank">TypeScript</a></dd></dl></div> <div class="col right"><dl><dt>品牌宣传</dt> <dd><a href="https://github.com/midwayjs" target="_blank"><img src="https://img.alicdn.com/tfs/TB16bxlbAPoK1RjSZKbXXX1IXXa-60-60.png"></a></dd> <dd><a href="https://zhuanlan.zhihu.com/midwayjs" target="_blank"><img src="https://img.alicdn.com/tfs/TB1a.pvbpzqK1RjSZFvXXcB7VXa-60-60.png"></a></dd> <dd><a href="https://github.com/midwayjs/pandora" target="_blank"><img src="https://img.alicdn.com/tfs/TB1.v4hbrPpK1RjSZFFXXa5PpXa-60-60.png"></a></dd> <dd><a href="https://github.com/midwayjs/midway" target="_blank"><img src="https://img.alicdn.com/tfs/TB1IgdubpzqK1RjSZFCXXbbxVXa-60-60.png"></a></dd> <dd><a href="https://github.com/midwayjs/sandbox" target="_blank"><img src="https://img.alicdn.com/tfs/TB1kIXybAvoK1RjSZFwXXciCFXa-60-60.png"></a></dd></dl> <iframe src="https://ghbtns.com/github-btn.html?user=midwayjs&repo=midway&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe></div></div></div> <div class="footer">
Copyright © 2018-present MidwayJs
</div></div> <!----></div></div>
<script src="/midway/assets/js/app.14fe5da9.js" defer></script><script src="/midway/assets/js/3.b00561a6.js" defer></script>
</body>
</html>