Files
dataease/core/core-frontend
Minamiyama 7df3c67599 refactor(component-background): 重构内边距处理逻辑并添加多语言支持
- 将 innerPadding 从 number 类型改为 EdgeValues 类型以支持更灵活的内边距设置
- 移除冗余的 innerPadding2 属性
- 添加边缘方向的多语言翻译(上、下、左、右)
- 更新组件列表和背景组件的内边距初始化逻辑
- 优化内边距更新函数以支持不同模式
2025-10-09 18:43:18 +08:00
..
2024-09-25 09:45:25 +08:00
2025-08-14 11:47:47 +08:00
2025-08-14 11:47:47 +08:00
2025-06-03 17:02:12 +08:00

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.