This repository provides a template for developing desktop applications using Tauri, Vue 3, and TypeScript with Vite, offering a modern development experience with Vue's `<script setup>` SFCs and recommended IDE support.
This template provides a starting point for developing applications using Vue 3 and TypeScript within the Vite build tool, leveraging Tauri for cross-platform desktop app creation. It utilizes Vue 3's <script setup>
SFCs (Single File Components), offering a simplified and more concise syntax for component development. Refer to the official Vue 3 documentation for more details on <script setup>
.
For an optimal development experience, it's recommended to use VS Code with the following extensions: Volar (for Vue 3 support), Tauri (for Tauri-specific features), and rust-analyzer (for Rust language support, as Tauri utilizes Rust).
.vue
Imports in TSTypeScript, by default, lacks native type information for .vue
imports. To address this, the template provides a generic Vue component type. For enhanced prop type validation within .vue
imports, Volar's Take Over mode can be enabled by disabling the built-in TypeScript extension in VS Code and reloading the window. This allows Volar to handle TypeScript support, providing more accurate prop type information.
deadshot465/novelcrafter-mcp
December 1, 2024
March 6, 2025
Rust