Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
ty-vue-ruoyi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
CI / CD
CI / CD
流水线
日程
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
提交
Open sidebar
刘守彩
ty-vue-ruoyi
Commits
e3af43f2
提交
e3af43f2
authored
2月 04, 2024
作者:
JaxBBLL
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
optimize: plugins
上级
c761e1cb
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
13 行增加
和
10 行删除
+13
-10
README.md
README.md
+4
-3
element-variables.scss
src/assets/styles/element-variables.scss
+2
-1
main.js
src/main.js
+2
-2
assets.js
src/plugins/assets.js
+2
-0
elment-ui.js
src/plugins/elment-ui.js
+0
-3
index.js
src/plugins/index.js
+2
-0
ty-ui.js
src/plugins/ty-ui.js
+1
-1
没有找到文件。
README.md
浏览文件 @
e3af43f2
...
...
@@ -8,10 +8,11 @@
-
[
x
]
添加
[
`ty-ui`
](
http://120.55.57.35:4874/#/
)
。
-
[
x
]
`eslint`
调整,并配合
`prettier`
统一格式化代码。
-
[
x
]
添加
原子化
[
`tailwindcss`
](
https://www.tailwindcss.cn/
)
。
-
[
x
]
剔除若依
改造
的样式
-
[
x
]
添加
原子化
[
`tailwindcss`
](
https://www.tailwindcss.cn/
)
,为了兼容性,使用
`1.x`
版本
。
-
[
x
]
剔除若依
覆盖
`element-ui`
的样式
-
[
]
测试
`ty-ui`
,并增加页面使用案例
-
[
]
根据 UI 并调整页面整体样式
-
[
]
设计师设计并调整页面整体样式
-
[
]
梳理第三方库并重新选型
## 启动发布
...
...
src/assets/styles/element-variables.scss
浏览文件 @
e3af43f2
/* 重新修改主色 */
/* 重新修改主色
,请参考ty-ui中element-ui和ty-ui的变量
*/
// $s3: #ff6900;
// $--color-primary: $s3;
...
...
@@ -7,6 +7,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
$--images-path
:
'~@taiyuan/ty-ui/packages/theme-chalk/src/images'
;
@import
'~@taiyuan/ty-ui/packages/theme-chalk/src/index.scss'
;
@import
'~@taiyuan/ty-ui/packages/styles/index.scss'
;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
...
...
src/main.js
浏览文件 @
e3af43f2
...
...
@@ -3,8 +3,8 @@ import App from './App';
import
store
from
'./store'
;
import
router
from
'./router'
;
import
directive
from
'./directive'
;
import
'./assets/icons'
;
// icon
import
'./permission'
;
// permission control
import
'./permission'
;
import
'./plugins'
;
Vue
.
use
(
directive
);
...
...
src/plugins/assets.js
0 → 100644
浏览文件 @
e3af43f2
import
'@/assets/styles/element-variables.scss'
;
import
'@/assets/styles/index.scss'
;
// global css
src/plugins/elment-ui.js
浏览文件 @
e3af43f2
import
'@/assets/styles/element-variables.scss'
;
import
'@/assets/styles/index.scss'
;
// global css
import
Vue
from
'vue'
;
import
Element
from
'element-ui'
;
import
locale
from
'element-ui/lib/locale/lang/zh-CN'
;
...
...
src/plugins/index.js
浏览文件 @
e3af43f2
import
'./assets'
;
// 样式等静态资源
import
'@/assets/icons'
;
// icon
import
'./vue-meta'
;
import
'./elment-ui'
;
import
'./ty-ui'
;
...
...
src/plugins/ty-ui.js
浏览文件 @
e3af43f2
import
Vue
from
'vue'
;
// 引入tui的源码
import
TyUI
from
'@taiyuan/ty-ui/packages/index'
;
Vue
.
use
(
TyUI
);
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论