A clean, elegant, beautiful and powerful admin template, based on Vue3, Vite5, TypeScript, Pinia, NaiveUI and UnoCSS. 一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite5, TypeScript, Pinia, NaiveUI 和 UnoCSS。
Go to file
2023-12-02 23:15:24 +08:00
.github chore(projects): remove useless packages, update lint-staged config, add githublogen 2023-05-31 01:33:46 +08:00
.vscode refactor(projects): remove plugin-web-update-notification 2023-09-21 01:08:28 +08:00
build chore: update farm version 2023-12-02 23:15:24 +08:00
docker ci: change docker image name 2022-09-14 06:28:14 +02:00
mock refactor(projects): update soybean domain 2023-09-06 01:07:29 +08:00
patches fix(projects): fix mockjs [修复mockjs] 2023-05-16 22:29:35 +08:00
public style(projects): update default theme color 2023-07-05 01:37:29 +08:00
scripts build(projects): perf logo 2023-02-10 02:24:52 +08:00
src chore: add comparation 2023-10-14 21:19:32 +08:00
.editorconfig build(projects): update tsconfig、eslintrc 2022-03-12 16:21:40 +08:00
.env chore(projects): correct the word spell 2023-07-19 23:44:18 +08:00
.env-config.ts proxy fail fix 2023-03-07 15:51:07 +08:00
.env.development chore(projects): add switch for pageRoute plugin [添加自动生成路由的插件的开关] 2023-05-31 01:52:57 +08:00
.env.production fix(projects): add prod mockjs switch [添加生产模式的mockjs的开关] 2023-05-17 07:55:12 +08:00
.eslintignore chore(deps): update deps 2023-08-04 01:37:21 +08:00
.eslintrc.js chore(projects): correct word spell & eslint fix code 2023-08-04 01:55:00 +08:00
.gitattributes docs(projects): update README 2023-01-11 22:28:34 +08:00
.gitignore chore(deps): update deps 2023-08-04 01:37:21 +08:00
.npmrc chore(projects): remove useless packages, update lint-staged config, add githublogen 2023-05-31 01:33:46 +08:00
CHANGELOG.md chore(projects): release v0.10.4 2023-09-20 23:42:22 +08:00
farm.config.ts chore: update benchmark 2023-10-16 08:05:01 +08:00
index.html chore: migrate to farm 2023-10-10 08:02:26 +08:00
LICENSE build(projects): add license 2022-01-24 12:26:04 +08:00
Makefile update: change tauri window size 2022-10-11 15:23:01 +08:00
package.json chore: update farm version 2023-12-02 23:15:24 +08:00
pnpm-lock.yaml chore: update farm version 2023-12-02 23:15:24 +08:00
postcss.config.js chore: migrate to farm 2023-10-10 08:02:26 +08:00
README.md chore: update farm version 2023-12-02 23:15:24 +08:00
tsconfig.json Merge pull request #230 from kirklin/fix_tsconfig 2023-05-16 19:36:04 +08:00
uno.config.mjs chore: migrate to farm 2023-10-10 08:02:26 +08:00
vite.config.ts chore: update benchmark 2023-10-16 08:05:01 +08:00

Soybean Admin

This project is forded from Soybean Admin. And we migrate this project from Vite to Farm reusing Vite plugins.

npm run dev:farm # start with Farm
npm run build:farm # build with Farm

npm run dev # start with Vite
npm run build # build with Vite

After migrate to Farm, this project is 2 times faster than Vite in Dev, and 6x times faster in Prod!

Performance Compare:

Cold Start(Server Ready + Page Rendered) Cold Build
Farm 3.5s 4s
Vite 7.5s 24.1s
Compare Farm is 2x faster than Vite Farm is 6x faster than Vite

So this means when using Farm, you can get better performance in both dev and prod, and you can avoid a lot of issues of Vite:

  • No huge amount of requests in Dev
  • Consistency between dev and prod
  • Flexible bundling configuration

And it is really easy to migrate your project from Vite to Farm, just move your plugins in vite.config.ts to vitePlugins in farm.config.ts