104 Commits

Author SHA1 Message Date
qlin
fdaf1fde73
feat: plugin access 添加 getRole 接口 (#207) 2023-08-23 19:11:08 +08:00
听海
c3969f8d87
feat: 添加[...slug].vue方式替换*.vue实现模糊匹配 (#183) 2023-04-07 20:46:33 +08:00
听海
43496ef307
feat(plugin-layout): custom插槽支持 menus 参数 & 重构403、404逻辑 (#181)
* feat(plugin-layout): custom插槽添加menus参数

* refactor: 403/404默认显示layout,在pages目录下创建404.vue/403.vue可覆盖默认

* refactor(plugin-layout): 优化index.jsx

n

* fix: 403/404添加title
2023-04-06 10:07:29 +08:00
wanchun
425a04568b docs: 更新demo 2023-03-14 14:07:37 +08:00
听海
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
RiESAEX
b3555770a6 chore: update swc 2023-01-17 08:46:04 +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
RiESAEX
3c7edefc62 feat: use swc with webpack 2022-12-27 06:41:30 +00:00
harrywan
86ff19b3d1
fix(plugin-layout): 打开相同path的链接会更新页签为新的 & 正确触发onActivated (#146)
* feat: script setup 支持 defineRouteMeta (#144)

* chore(release): publish

 - @fesjs/preset-built-in@2.1.4
 - @fesjs/fes@2.1.4

* fix: 打开相同path的链接会更新route & 第一次打开会触发onActivated (#145)

* fix: 打开相同path的链接会更新route & 第一次打开会触发onActivated

* fix: 优化

* chore(release): publish

 - @fesjs/plugin-layout@4.2.3

Co-authored-by: qlin <haizekuo@gmail.com>
2022-08-12 10:19:27 +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
2aa97202ea feat: 页面路径中目录名为@转化为动态路径 2022-07-08 14:13:42 +08:00
harrywan
9b3b7e5d0c
feat: 文件目录名带@转化成动态路由 (#137) 2022-07-08 10:19:56 +08:00
winixt
74315c408a chore: 更改文件名 2022-06-23 19:48:00 +08:00
harrywan
a9dd94506a
refactor: 重构plugin-layout,统一配置
* docs: 更新文档

* break: plugin-layout优化api

* break: 去掉switch配置,改为使用navigation

* feat: 重构layout

* docs: 升级文档

* feat: 无logo和title时隐藏dom

* fix: 修复一些问题

* fix: 配置提示

* fix: build watch copy 路径识别问题

* docs: 文档

Co-authored-by: winixt <haizekuo@gmail.com>
2022-06-22 14:25:47 +08:00
qlin
c3b3e5337f
refactor: defineRouteMeta 兼容 script setup (#131) 2022-06-16 15:38:37 +08:00
wanchun
45e95a0d0a fix: initialState存在非setup使用场景,不能使用provide/inject 2022-05-17 14:23:00 +08:00
wanchun
38aba6da55 feat: 合并master 2022-05-16 14:10:56 +08:00
wanchun
15c93eb80e feat: layout/locale/editor/sass等插件兼容vite 2022-05-06 15:02:08 +08:00
wanchun
12418f2ffe feat: plugin-layout支持运行时配置编译时的参数 2022-05-05 16:55:39 +08:00
harrywan
98bae6d141
feat: watermark (#112)
* feat: 基础功能

* feat: 支持时间戳

* refactor(plugin-watermark): 优化实现

* feat(plugin-watermark): 提供开关

* docs: 添加文档

* docs: 优化文档
2022-04-18 13:31:47 +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
31ff10532e feat: 初步实现 vite dev 构建 2022-04-03 19:26:49 +08:00
wanchun
444ed4ba3c feat: 支持keep-alive 2022-03-22 11:32:35 +08:00
harrywan
50db7dc908
refactor: layout组件兼容性更好,升级fes-design版本 (#100) 2022-02-22 19:02:43 +08:00
harrywan
476b7bfe66 feat: plugin-pinia 2022-02-02 22:04:01 +08:00
qlin
2981a66218
fix: 解决 windicss 在开发环境 css 加载顺序问题 (#95) 2022-01-26 19:34:02 +08:00
wanchun
ab949fb6a8 feat(plugin-layout): 菜单支持配置额外的匹配规则 2022-01-05 16:38:02 +08:00
wanchun
1bfb4b1c1a feat: 当build-in版本变化时,缓存失效 2022-01-05 11:12:09 +08:00
harrywan
700b0f9747
feat: 插件改为使用fes-design 2022-01-04 16:19:17 +08:00
winixt
5747466c43 feat: windicss 2021-11-18 10:31:01 +08:00
harrywan
7a1db0259f
Merge branch 'master' into vue3 2021-11-12 14:33:12 +08:00
harrywan
bd4eba275f Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3 2021-11-03 14:50:19 +08:00
harrywan
04a33d2c68 feat: 支持按路由编译出.html文件 2021-11-03 14:45:44 +08:00
winixt
afd5497f79 fix: 解决 layout menu 空菜单问题 + env 环境覆盖问题 2021-08-20 10:08:58 +08:00
harrywan
8e39dcf2c2 fix: 检测vue和@vue/compiler-sfc的版本,保证一致 2021-08-18 14:23:37 +08:00
winixt
67b74367ed feat: 优化包依赖 + 优化 fes-plugin-test 2021-08-09 14:43:47 +08:00
harrywan
74cf05e15e feat(fes-plugin-monaco-editor): 新增monaco-editor插件,提供编辑器能力 2021-07-22 20:46:49 +08:00
harrywan
bcdccf02db feat: 支持css modules 2021-06-08 14:49:00 +08:00
aringlai
da0ffa647b fix: enums.get参数 2021-05-12 19:32:20 +08:00
harrywan
daab4a1b5b feat: 新增plugin-sass 2021-04-23 14:49:00 +08:00
aringlai
2242872c5c fix: store导出 2021-04-16 12:51:17 +08:00
万纯
ba3016105d fix: 修复proxy丢失body和fallbackIndex影响proxy的bug 2021-04-09 11:12:23 +08:00
万纯
dcf2c316b7 fix(plugin-layout): 修复点击菜单时所有菜单一起关闭的bug 2021-04-02 17:07:10 +08:00
万纯
a9e76dc2bb feat(plugin-layout): 菜单的 icon支持svg文件、title支持国际化 2021-03-15 16:43:02 +08:00
wanchun
4d052bab19 feat: plugin-layout的菜单支持icon配置 2021-03-07 21:37:21 +08:00
万纯
1d182a9d3e Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3 2021-03-05 19:01:57 +08:00
万纯
1673ef4b7e fix: 优化plugin-locale 2021-03-05 18:04:10 +08:00
bac-joker
3631734ea5 build: merge 2021-03-05 17:12:28 +08:00