mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2026-06-16 20:32:19 +00: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.
Recommended IDE Setup
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.