2021-01-19 21:13:13 +08:00
|
|
|
|
---
|
|
|
|
|
home: true
|
|
|
|
|
title: 首页
|
|
|
|
|
heroImage: /hero.png
|
|
|
|
|
actions:
|
|
|
|
|
- text: 快速上手
|
|
|
|
|
link: /zh/guide/getting-started.html
|
|
|
|
|
type: primary
|
|
|
|
|
- text: 项目简介
|
2021-01-20 11:36:57 +08:00
|
|
|
|
link: /zh/guide/
|
2021-01-19 21:13:13 +08:00
|
|
|
|
type: secondary
|
|
|
|
|
features:
|
2021-01-20 11:36:57 +08:00
|
|
|
|
- title: 可扩展
|
|
|
|
|
details: 借鉴Umi实现了完整的生命周期和插件化机制,插件可以管理项目的编译时和运行时,能力均可以通过插件封装进来,在fes.js中协调有序的运行。
|
|
|
|
|
- title: Fast
|
|
|
|
|
details: 内置了路由、构建、部署、测试等,并且提供诸如布局、权限、国际化、状态管理、API请求、数据字典、SvgIcon等插件,可以满足大部分日常开发需求。
|
|
|
|
|
- title: Easy
|
|
|
|
|
details: 基于Vue.js,上手简单。设计上尽量通过约定方式简化概念,更容易上手。约定不能完全替代配置,统一管理插件配置入口,一致的体验,学习起来更轻松。
|
|
|
|
|
- title: Strong
|
|
|
|
|
details: 经过多个项目中打磨,趋于稳定。
|
|
|
|
|
footer: MIT Licensed | Copyright © 2020-present Webank
|
2021-01-19 21:13:13 +08:00
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 像数 1, 2, 3 一样容易
|
|
|
|
|
|
|
|
|
|
<CodeGroup>
|
|
|
|
|
<CodeGroupItem title="YARN" active>
|
|
|
|
|
|
|
|
|
|
```bash
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 创建模板
|
|
|
|
|
npx @webank/create-fes-app myapp
|
2021-01-19 21:13:13 +08:00
|
|
|
|
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 安装依赖
|
|
|
|
|
yarn
|
2021-01-19 21:13:13 +08:00
|
|
|
|
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 运行
|
|
|
|
|
yarn dev
|
2021-01-19 21:13:13 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeGroupItem>
|
|
|
|
|
|
|
|
|
|
<CodeGroupItem title="NPM">
|
|
|
|
|
|
|
|
|
|
```bash
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 创建模板
|
|
|
|
|
npx @webank/create-fes-app myapp
|
2021-01-19 21:13:13 +08:00
|
|
|
|
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 安装依赖
|
|
|
|
|
npm install
|
2021-01-19 21:13:13 +08:00
|
|
|
|
|
2021-01-20 11:36:57 +08:00
|
|
|
|
# 运行
|
|
|
|
|
npm run dev
|
2021-01-19 21:13:13 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeGroupItem>
|
|
|
|
|
</CodeGroup>
|