luoqiang 6f279fcae0 新增avalonia-web前端子项目及WebView桥接支持
新增基于Vite+Vue3的avalonia-web前端子项目,包含完整工程结构、配置文件、静态资源和组件。完善.gitignore等忽略规则,并将前端项目集成进解决方案。增强MainWindow.axaml.cs中WebView脚本,支持自定义协议的XMLHttpRequest桥接,提升JS与C#通信能力。补充CHANGELOG及环境检测提示。
2026-04-23 17:49:55 +08:00
..

avalonia-web

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (and disable Vetur).

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 Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint