Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 2.07 KB

README.md

File metadata and controls

31 lines (20 loc) · 2.07 KB

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.

Recommended IDE Setup

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.

这是一个 window 下的窗口置顶工具

  • 核心功能依赖于自行开发的 c++的 nodejs 扩展
  • 技术包装为 electron
  • 依赖任务栏窗口应用,一次仅可置顶一个窗口
  • 随缘完善中---可移动 nail 设置窗口置顶
  • 若有新需求可联系我提出 微信:18713908616,请注明来意

electron-forge 与 electron-builder

  • 原仓库为 window-nail,使用 electron-forge 构建,构建的 exe 安装包没有引导
  • 本仓库使用 electron-builder 构建,使用 vite 直接构建 electron 应用,有引导,含有许多代码模板