175 Commits

Author SHA1 Message Date
听海
fc4173a7e8
feat(plugin-layout): 多页签支持配置title (#174)
* feat(plugin-layout): 多页签支持配置title

* feat: 更改参数名 & 关闭页面清数据

* docs: 更新文档

* docs: 更新文档
2023-03-13 20:28:03 +08:00
wanchun
9295b91370 Merge branch 'swc' of https://github.com/RiESAEX/fes.js into RiESAEX-swc 2023-03-01 17:51:35 +08:00
wanchun
e05fb32a76 feat: plugin-swc 2023-03-01 16:29:42 +08:00
RiESAEX
9d6b32be88 fix: keep browsers 2023-02-13 08:17:29 +00:00
qlin
8332b1114c
feat: 添加 login 插件 (#168)
* feat: 添加 login 插件

* docs: 优化 access docs 文档

* refactor: beforeRender迁移到router创建后

* fix: 修复清除webpack-cache问题

* refactor: 优化 plugin 插件

Co-authored-by: wanchun <445436867@qq.com>
2023-01-11 15:51:43 +08:00
RiESAEX
acb27c4c91 fix: targets 2022-12-27 08:58:45 +00:00
听海
104571b2a4
feat: 路由支持配置base & plugin-locale插件legacy默认false (#154)
* feat: 路由支持配置base & plugin-locale插件legacy默认false

* docs: 修改文档
2022-11-10 19:08:35 +08:00
qlin
92e154e48b
fix: 解决 ts 提示问题 (#155) 2022-11-10 17:48:34 +08:00
winixt
a384335534 fix: config 不是 json 格式导致 dev 退出 2022-10-10 16:42:36 +08:00
winixt
76afad7c2d fix: defineRouteMeta parse 异常 2022-10-10 16:23:47 +08:00
winixt
2840b462ec fix: js 语法错误导致 dev 退出 2022-09-27 10:15:30 +08:00
winixt
d9a65d0358 chore: 优化targets 2022-08-26 20:22:04 +08:00
winixt
d0691ca90a fix: 优化构建 2022-08-26 15:22:48 +08:00
winixt
e71dff50f2 chore: 升级依赖 2022-08-17 10:49:48 +08:00
qlin
ba73ac7ff7
fix: 路由生成支持全数字
* fix: 路由生成支持全数字

* fix: 路由生成支持全数字

* fix: 优化 layout ts

* chore: remove 403 404 page route config
2022-07-18 15:33:27 +08:00
wanchun
12d43575f9 fix: route path兼容win 2022-07-15 10:26:00 +08:00
wanchun
bcce28d567 fix: 修复win下路径问题 2022-07-15 10:15:28 +08:00
wanchun
2aa97202ea feat: 页面路径中目录名为@转化为动态路径 2022-07-08 14:13:42 +08:00
harrywan
9b3b7e5d0c
feat: 文件目录名带@转化成动态路由 (#137) 2022-07-08 10:19:56 +08:00
qlin
dc3e0aceb1
Ts type (#133)
* fix: 优化类型提示

* fix: 添加 enums 接口类型声明

* feat: 配置插件api提示

Co-authored-by: wanchun <445436867@qq.com>
2022-06-22 19:24:49 +08:00
qlin
c3b3e5337f
refactor: defineRouteMeta 兼容 script setup (#131) 2022-06-16 15:38:37 +08:00
wanchun
7a92a06830 refactor: 优化乾坤和layout 2022-06-14 19:28:09 +08:00
harrywan
c09dfeadde
Fix qiankun 内存泄漏问题 (#126)
* fix: 修复乾坤插件内存问题

* fix: 多页签时关闭页面需要清除缓存

* feat: 乾坤增加entry配置,用于区别同一name不同位置用法

* docs: 去掉文档

* fix: preset-build-in的route api 兼容

* fix: 修复问题

* docs: 更新w文档

* fix: 变更api
2022-06-07 17:29:24 +08:00
wanchun
45e95a0d0a fix: initialState存在非setup使用场景,不能使用provide/inject 2022-05-17 14:23:00 +08:00
wanchun
fdfe79e65c feat: 合并master 2022-05-16 14:13:10 +08:00
wanchun
38aba6da55 feat: 合并master 2022-05-16 14:10:56 +08:00
winixt
2f1c551522 feat: 优化 webpack 信息输出 2022-05-14 18:16:12 +08:00
winixt
7da7a348e2 fix: 修复vite热更新问题 2022-05-13 16:54:26 +08:00
wanchun
0580369042 refactor: 重新设计build加载方式 2022-05-11 17:50:20 +08:00
wanchun
81d3405251 feat: 优化mock 2022-05-06 17:30:23 +08:00
wanchun
5117afc9c5 feat: vite的mock也改为express语法 2022-05-06 17:15:26 +08:00
wanchun
15c93eb80e feat: layout/locale/editor/sass等插件兼容vite 2022-05-06 15:02:08 +08:00
wanchun
443879bf4f fix: 修复一些bug 2022-05-06 13:10:09 +08:00
harrywan
41b843396c
feat: qiankun支持多页签keepalive (#117)
* fix: 判断页面权限的path统一从match中拿路由path

* fix: qiankun主应用不改rootContainer

* fix: 消除initialState为空时的warn

* refactor: modifyCreateHistroy更改为modifyCreateHistory

* fix: qiankun支持多页签keepalive
2022-04-20 10:35:16 +08:00
winixt
a535345e0a refactor: 优化类型声明 2022-04-15 22:54:51 +08:00
harrywan
94c4bb6e4f
* feat(plugin-layout): layout支持运行时配置menus (#113)
* feat(plugin-layout): 支持运行时配置menus

* refactor(plugin-model): 去掉provide

* refactor(plugin-layout): 优化runtimeConfig,重新实现运行时menus配置方式,修复多页时setup执行两次的bug

* feat(plugin-layout): 菜单支持配置默认展开等

* refactor: 优化
2022-04-11 19:40:16 +08:00
winixt
f16579c5a1 fix: 修改缓存等级 2022-04-11 16:47:46 +08:00
winixt
0100b10567 fix: connect-history-api-fallback 挪回 webpack,vite 后续再考虑支持 2022-04-08 14:56:19 +08:00
winixt
8bdaad419a refactor: 修改 html 相关逻辑与问题 2022-04-05 19:44:39 +08:00
winixt
7e1c3cc07b docs: 进一步优化文档 2022-04-04 21:02:18 +08:00
winixt
ec1ba22616 refactor: 梳理构建配置 2022-04-04 16:44:50 +08:00
winixt
049c9532de feat: 完善 vite build 2022-04-04 15:32:41 +08:00
winixt
31ff10532e feat: 初步实现 vite dev 构建 2022-04-03 19:26:49 +08:00
winixt
40d8332030 fix: 重新梳理构建流程 2022-03-29 16:25:49 +08:00
wanchun
abffcdb9a1 refactor: 优化乾坤插件,增加构建配置提示 2022-03-29 13:11:09 +08:00
winixt
97b9e8fa3c refactor: 优化 resolver inner dep and declare type file 2022-03-28 21:03:13 +08:00
winixt
a9ffca2262 refactor: 完成运行时类型改造 2022-03-27 20:10:28 +08:00
winixt
99db87e400 refactor: 抽离 webpack 构建 2022-03-26 20:24:14 +08:00
winixt
c04148f84d fix: run vite 2022-03-26 14:58:01 +08:00
winixt
242787c358 feat: 优化构建 2022-03-25 20:31:30 +08:00