Migrated repository
Go to file
2024-03-09 03:39:35 +08:00
.github/workflows 🌻 update(custom): 更新好友和群聊详情页面 2024-03-09 03:39:35 +08:00
build/config init 初始化项目配置 2023-12-16 03:56:10 +08:00
config 🌻 update(custom): 升级vue、vue-tsc、TS、vite版本 2024-01-05 21:02:11 +08:00
public init 初始化仓库 2023-12-15 20:25:35 +08:00
src 🌻 update(custom): 更新好友和群聊详情页面 2024-03-09 03:39:35 +08:00
src-tauri 🌻 update(custom): 更新好友和群聊详情页面 2024-03-09 03:39:35 +08:00
.editorconfig 🌻 update(custom): 升级vue、vue-tsc、TS、vite版本 2024-01-05 21:02:11 +08:00
.env.dev feat(custom): 新增unocss及其插件 2024-01-10 02:18:32 +08:00
.env.prod feat(custom): 新增unocss及其插件 2024-01-10 02:18:32 +08:00
.eslintignore 🆕 version(custom): 发布v1.0.0-alpha版本 2023-12-17 02:21:55 +08:00
.eslintrc.cjs 🆕 version(custom): 发布v1.0.0-alpha版本 2023-12-17 02:21:55 +08:00
.gitattributes 💄 style(custom): 使用.editorconfig和.gitattributes来约束行分隔符和编辑器设置 2023-12-19 15:35:01 +08:00
.gitignore 🆕 version(custom): 发布v1.0.0-alpha版本 2023-12-17 02:21:55 +08:00
.prettierignore 🆕 version(custom): 发布v1.0.0-alpha版本 2023-12-17 02:21:55 +08:00
.prettierrc 💄 style(custom): 使用.editorconfig和.gitattributes来约束行分隔符和编辑器设置 2023-12-19 15:35:01 +08:00
CHANGELOG.md 🌻 update(custom): 更新悬浮按钮样式,修复已知的部分问题 2024-03-07 02:05:19 +08:00
index.html 🌻 update(custom): 更新悬浮按钮样式,修复已知的部分问题 2024-03-07 02:05:19 +08:00
logo.png feat(custom): 新增护眼主题,隐藏窗口默认顶部菜单栏,优化rust打包配置 2024-01-15 06:14:04 +08:00
package.json 🌻 update(custom): 更新好友和群聊详情页面 2024-03-09 03:39:35 +08:00
pnpm-lock.yaml 🌻 update(custom): 更新好友和群聊详情页面 2024-03-09 03:39:35 +08:00
README.md init 初始化仓库 2023-12-15 20:25:35 +08:00
tsconfig.json 🌻 update(custom): 升级vue、vue-tsc、TS、vite版本 2024-01-05 21:02:11 +08:00
tsconfig.node.json init 初始化项目配置 2023-12-16 03:56:10 +08:00
uno.config.ts 🌻 update(custom): 更新主页的样式 2024-01-21 09:59:18 +08:00
vite.config.ts 🌻 update(custom): 更新侧边栏功能显示 2024-03-06 08:03:27 +08:00

Tauri + Vue 3 + TypeScript

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

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's Take Over mode by following these steps:

  1. Run Extensions: Show Built-in Extensions from VS Code's command palette, look for TypeScript and JavaScript Language Features, then right click and select Disable (Workspace). By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
  2. Reload the VS Code window by running Developer: Reload Window from the command palette.

You can learn more about Take Over mode here.