# tauri-example **Repository Path**: zeronehost/tauri-example ## Basic Information - **Project Name**: tauri-example - **Description**: tauri 示例 - **Primary Language**: Rust - **License**: MPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-23 - **Last Updated**: 2021-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tauri-example tauri 示例程序 This template should help get you started developing with Vue 3 in Vite. ## Project Setup ```sh yarn ``` ### Compile and Hot-Reload for Development - 启动 web 服务器 ```sh yarn dev ``` - 启动 tauri 开发服务器 ```sh yarn tauri dev ``` ### Type-Check, Compile and Minify for Production - 构建 web 应用 ```sh yarn build ``` - 构建 APP ```sh yarn tauri build ``` --- # other ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). ## 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 run `Volar: Switch TS Plugin on/off` from VSCode command palette. ## Customize configuration See [Vite Configuration Reference](https://vitejs.dev/config/).