Skip to content

Commit

Permalink
docs: Adjust comments
Browse files Browse the repository at this point in the history
to be closer to those in the Tauri v2
  • Loading branch information
GeckoEidechse committed Jan 5, 2025
1 parent 0fdbcc6 commit 517b959
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src-vue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig({
// prevent vite from obscuring rust errors
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
//
// 1. prevent vite from obscuring rust errors
clearScreen: false,
// Tauri expects a fixed port, fail if that port is not available
// 2. tauri expects a fixed port, fail if that port is not available
server: {
strictPort: true,
},
Expand Down

0 comments on commit 517b959

Please sign in to comment.