Migrated repository
Go to file
2024-11-28 11:48:59 +08:00
.github docs: fix docs deploy 2023-04-24 15:59:04 +08:00
.vscode feat: plugin-layout的页签信息支持国际化 2024-09-04 15:27:44 +08:00
docs feat: webpack-dev 升级到5.x,提升 dev 性能,优化日志输出 (#259) 2024-11-22 10:29:48 +08:00
images docs: 更换logo 2021-12-21 15:31:02 +08:00
packages fix: 受控模式优化 (#262) 2024-11-28 11:48:59 +08:00
scripts feat: 升级 vite5 (#222) 2023-12-14 14:28:02 +08:00
.editorconfig feat(重写构建): 重写构建 2020-11-14 17:25:30 +08:00
.gitignore feat: 升级 vite5 (#222) 2023-12-14 14:28:02 +08:00
.npmrc docs: 切换使用vitepress (#192) 2023-04-24 14:41:41 +08:00
build.config.js feat: 升级 vite5 (#222) 2023-12-14 14:28:02 +08:00
CHANGELOG.md chore: v3.4.5 2024-11-19 14:31:24 +08:00
commitlint.config.js chore: upgrade postcss 2024-01-13 11:26:45 +08:00
eslint.config.js chore: 修复安全告警问题 (#256) 2024-11-14 16:15:03 +08:00
jest.config.js feat: 优化源码测试 2021-08-13 17:58:13 +08:00
LICENSE 更新MIT License 2020-09-25 17:59:15 +08:00
package.json chore: v3.4.5 2024-11-19 14:31:24 +08:00
pnpm-lock.yaml feat: webpack-dev 升级到5.x,提升 dev 性能,优化日志输出 (#259) 2024-11-22 10:29:48 +08:00
pnpm-workspace.yaml feat: 优化一些demo 2023-03-31 14:14:35 +08:00
preview.yml 增加了 Cloud IDE 在线预览链接 (#161) 2022-12-23 10:00:23 +08:00
README.en-US.md docs: 更新文档 2024-09-05 15:09:08 +08:00
README.md docs: 更新文档 2024-09-05 15:09:08 +08:00
tsconfig.base.json chore: 修复安全告警问题 (#256) 2024-11-14 16:15:03 +08:00

English | 简体中文

fes.js

An excellent front-end solution

GitHub issues MIT PRs Welcome

Pain points

Before developing a front-end project, we may need to do the following preparations

  • Set up a development environment
  • Conventional code specification
  • Encapsulate API requests
  • Configure routing
  • Realize layout, menu, navigation
  • Realize login
  • authority management
  • ...

In addition to the preparation work, there are many similar business types. For example, most of the middle and back-end applications are workbenches, additions, deletions, changes, permissions, charts, etc. If each project is completely processed manually, it will not only take time, but over time there may be multiple technology stacks and development specifications, leading to inconsistent development processes and making historical projects more and more difficult to maintain. So we need a complete solution to manage the entire process from development to deployment.

Fes.js

Fes.js is an excellent front-end application solution. Fes.js is based on Vue 3.0 and routing, and supports both configuration routing and convention routing, which can be used for functional expansion. Equipped with a complete plug-in system covering the compile-time and runtime life cycle, it supports various function extensions and business requirements.

It mainly has the following functions:

  • 🚀 fast , Built-in routing, development, construction, etc., and provide plug-ins such as testing, layout, permissions, internationalization, state management, API requests, data dictionary, SvgIcon, etc., which can meet most of the daily development needs.

  • 🧨 easy , Based on Vue.js 3.0, easy to get started. Carry out the idea of "Convention is better than configuration", design plug-ins as much as possible to replace configuration with conventions, and provide a unified plug-in configuration entry, which is simple, concise and flexible. Provide a consistent API entry, a consistent experience, and easier learning.

  • 💪 strong , Only need to care about the content of the page, reduce the chance of writing BUG! Provide unit testing and coverage testing capabilities to ensure project quality.

  • 📦 expanded , Drawing lessons from Umi, it implements a complete life cycle and plug-in mechanism. The plug-in can manage the compile time and runtime of the project, and the capabilities can be encapsulated through the plug-in, and run in an orderly manner in Fes.js.

  • 📡 future , While meeting demand, we will not stop exploring new technologies. Vue3.0 has been used to improve application performance, webpack5 has been used to improve construction performance and implement microservices, and new technologies such as vite will be explored in the future.

Plugins

plugin introduce
@fesjs/plugin-access Provides the ability to control the permissions of page resources
@fesjs/plugin-enums Provide unified enumeration access and rich functions to handle enumeration
@fesjs/plugin-icon svg file is automatically registered as a component
@fesjs/plugin-jest Based on Jest, provide unit testing and coverage testing capabilities
@fesjs/plugin-layout Simple configuration to have a layout, including navigation and sidebar
@fesjs/plugin-locale Based on Vue I18n, providing internationalization capabilities
@fesjs/plugin-model Simple data management solution
@fesjs/plugin-request Based on the request encapsulated by Axios, built-in functions such as preventing repeated requests, request throttling, and error handling
@fesjs/plugin-vuex Based on Vuex, provide state management capabilities
@fesjs/plugin-qiankun Based on qiankun, provide microservice capabilities
@fesjs/plugin-sass Style support sass
@fesjs/plugin-monaco-editor Provide code editor capability, based on monaco-editor (code editor used by VS Code)
@fesjs/plugin-pinia state manager
@fesjs/plugin-watermark watermark
@fesjs/plugin-swc use swc-loader

As easy as counting 1, 2, 3

use pnpm

# Create a template
pnpm create @fesjs/fes-app myapp

# Installation dependencies
pnpm i

# run
pnpm dev

use npm

# Create a template
npx @fesjs/create-fes-app myapp

# Installation dependencies
npm install

# run
npm run dev

Project Demo

Project Description
threejs webgl three three.js tres.js tvt.js

Feedback

Github Issue WeChat group Fes.js 开源运营小助手
@fesjs/fes.js/issues

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Community activity

Fesjs community award-winning essay activity

In order for the Fes.js open source project to run better, and to give back to the open source community, the community launched an award-winning essay event! Everyone is welcome to post practical experience to provide reference for community users and a wider range of developers.

The output of experience can also help your system accumulate your own projects, sort out your work ideas, and also help your technology blog to promote. Good practice cases will have the opportunity to be invited to participate in the project community technical meeting to share, hurry up and participate.

Please stamp: https://mp.weixin.qq.com/s/nV4NG_OUUrdgtft8g_IW4g