File tree 24 files changed +52
-52
lines changed
24 files changed +52
-52
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function App() {
17
17
<h1>Welcome to Tauri + Preact</h1>
18
18
19
19
<div class="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import preact from "@preact/preset-vite";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [preact()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function App() {
17
17
<h1>Welcome to Tauri + Preact</h1>
18
18
19
19
<div class="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import preact from "@preact/preset-vite";{% if v2 %}
3
3
4
4
const host = process.env.TAURI_DEV_HOST;{% endif %}
5
5
6
- // https://vitejs .dev/config/
6
+ // https://vite .dev/config/
7
7
export default defineConfig(async () => ({
8
8
plugins: [preact()],
9
9
10
10
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
11
11
//
12
- // 1. prevent vite from obscuring rust errors
12
+ // 1. prevent Vite from obscuring rust errors
13
13
clearScreen: false,
14
14
// 2. tauri expects a fixed port, fail if that port is not available
15
15
server: {
@@ -24,7 +24,7 @@ export default defineConfig(async () => ({
24
24
}
25
25
: undefined,{% endif %}
26
26
watch: {
27
- // 3. tell vite to ignore watching `src-tauri`
27
+ // 3. tell Vite to ignore watching `src-tauri`
28
28
ignored: ["**/src-tauri/**"],
29
29
},
30
30
},
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ function App() {
17
17
<h1>Welcome to Tauri + React</h1>
18
18
19
19
<div className="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" className="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
24
24
<img src="/tauri.svg" className="logo tauri" alt="Tauri logo" />
25
25
</a>
26
- <a href="https://reactjs.org " target="_blank">
26
+ <a href="https://react.dev " target="_blank">
27
27
<img src={reactLogo} className="logo react" alt="React logo" />
28
28
</a>
29
29
</div>
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import react from "@vitejs/plugin-react";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [react()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ function App() {
17
17
<h1>Welcome to Tauri + React</h1>
18
18
19
19
<div className="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" className="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
24
24
<img src="/tauri.svg" className="logo tauri" alt="Tauri logo" />
25
25
</a>
26
- <a href="https://reactjs.org " target="_blank">
26
+ <a href="https://react.dev " target="_blank">
27
27
<img src={reactLogo} className="logo react" alt="React logo" />
28
28
</a>
29
29
</div>
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import react from "@vitejs/plugin-react";{% if v2 %}
3
3
4
4
const host = process.env.TAURI_DEV_HOST;{% endif %}
5
5
6
- // https://vitejs .dev/config/
6
+ // https://vite .dev/config/
7
7
export default defineConfig(async () => ({
8
8
plugins: [react()],
9
9
10
10
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
11
11
//
12
- // 1. prevent vite from obscuring rust errors
12
+ // 1. prevent Vite from obscuring rust errors
13
13
clearScreen: false,
14
14
// 2. tauri expects a fixed port, fail if that port is not available
15
15
server: {
@@ -24,7 +24,7 @@ export default defineConfig(async () => ({
24
24
}
25
25
: undefined,{% endif %}
26
26
watch: {
27
- // 3. tell vite to ignore watching `src-tauri`
27
+ // 3. tell Vite to ignore watching `src-tauri`
28
28
ignored: ["**/src-tauri/**"],
29
29
},
30
30
},
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function App() {
17
17
<h1>Welcome to Tauri + Solid</h1>
18
18
19
19
<div class="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import solid from "vite-plugin-solid";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [solid()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function App() {
17
17
<h1>Welcome to Tauri + Solid</h1>
18
18
19
19
<div class="row">
20
- <a href="https://vitejs .dev" target="_blank">
20
+ <a href="https://vite .dev" target="_blank">
21
21
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
22
22
</a>
23
23
<a href="https://tauri.app" target="_blank">
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import solid from "vite-plugin-solid";{% if v2 %}
3
3
4
4
const host = process.env.TAURI_DEV_HOST;{% endif %}
5
5
6
- // https://vitejs .dev/config/
6
+ // https://vite .dev/config/
7
7
export default defineConfig(async () => ({
8
8
plugins: [solid()],
9
9
10
10
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
11
11
//
12
- // 1. prevent vite from obscuring rust errors
12
+ // 1. prevent Vite from obscuring rust errors
13
13
clearScreen: false,
14
14
// 2. tauri expects a fixed port, fail if that port is not available
15
15
server: {
@@ -24,7 +24,7 @@ export default defineConfig(async () => ({
24
24
}
25
25
: undefined,{% endif %}
26
26
watch: {
27
- // 3. tell vite to ignore watching `src-tauri`
27
+ // 3. tell Vite to ignore watching `src-tauri`
28
28
ignored: ["**/src-tauri/**"],
29
29
},
30
30
},
Original file line number Diff line number Diff line change 15
15
<h1>Welcome to Tauri + Svelte</h1>
16
16
17
17
<div class="row">
18
- <a href="https://vitejs .dev" target="_blank">
18
+ <a href="https://vite .dev" target="_blank">
19
19
<img src="/vite.svg" class="logo vite" alt="Vite Logo" />
20
20
</a>
21
21
<a href="https://tauri.app" target="_blank">
22
22
<img src="/tauri.svg" class="logo tauri" alt="Tauri Logo" />
23
23
</a>
24
- <a href="https://kit. svelte.dev" target="_blank">
24
+ <a href="https://svelte.dev" target="_blank">
25
25
<img src="/svelte.svg" class="logo svelte-kit" alt="SvelteKit Logo" />
26
26
</a>
27
27
</div>
Original file line number Diff line number Diff line change 11
11
"strict" : true ,
12
12
"moduleResolution" : " bundler"
13
13
}
14
- // Path aliases are handled by https://kit. svelte.dev/docs/configuration#alias
15
- // except $lib which is handled by https://kit. svelte.dev/docs/configuration#files
14
+ // Path aliases are handled by https://svelte.dev/docs/kit /configuration#alias
15
+ // except $lib which is handled by https://svelte.dev/docs/kit /configuration#files
16
16
//
17
17
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
18
18
// from the referenced tsconfig.json - TypeScript does not merge them in
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import { sveltekit } from "@sveltejs/kit/vite";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [sveltekit()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change 11
11
"strict" : true ,
12
12
"moduleResolution" : " bundler"
13
13
}
14
- // Path aliases are handled by https://kit. svelte.dev/docs/configuration#alias
15
- // except $lib which is handled by https://kit. svelte.dev/docs/configuration#files
14
+ // Path aliases are handled by https://svelte.dev/docs/kit /configuration#alias
15
+ // except $lib which is handled by https://svelte.dev/docs/kit /configuration#files
16
16
//
17
17
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
18
18
// from the referenced tsconfig.json - TypeScript does not merge them in
Original file line number Diff line number Diff line change 15
15
<h1>Welcome to Tauri + Svelte</h1>
16
16
17
17
<div class="row">
18
- <a href="https://vitejs .dev" target="_blank">
18
+ <a href="https://vite .dev" target="_blank">
19
19
<img src="/vite.svg" class="logo vite" alt="Vite Logo" />
20
20
</a>
21
21
<a href="https://tauri.app" target="_blank">
22
22
<img src="/tauri.svg" class="logo tauri" alt="Tauri Logo" />
23
23
</a>
24
- <a href="https://kit. svelte.dev" target="_blank">
24
+ <a href="https://svelte.dev" target="_blank">
25
25
<img src="/svelte.svg" class="logo svelte-kit" alt="SvelteKit Logo" />
26
26
</a>
27
27
</div>
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import { sveltekit } from "@sveltejs/kit/vite";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [sveltekit()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change 13
13
< h1 > Welcome to Tauri</ h1 >
14
14
15
15
< div class ="row ">
16
- < a href ="https://vitejs .dev " target ="_blank ">
16
+ < a href ="https://vite .dev " target ="_blank ">
17
17
< img src ="/src/assets/vite.svg " class ="logo vite " alt ="Vite logo " />
18
18
</ a >
19
19
< a href ="https://tauri.app " target ="_blank ">
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import { defineConfig } from "vite";{% if v2 %}
3
3
// @ts-expect-error process is a nodejs global
4
4
const host = process.env.TAURI_DEV_HOST;{% endif %}
5
5
6
- // https://vitejs .dev/config/
6
+ // https://vite .dev/config/
7
7
export default defineConfig(async () => ({
8
8
9
9
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
10
10
//
11
- // 1. prevent vite from obscuring rust errors
11
+ // 1. prevent Vite from obscuring rust errors
12
12
clearScreen: false,
13
13
// 2. tauri expects a fixed port, fail if that port is not available
14
14
server: {
@@ -23,7 +23,7 @@ export default defineConfig(async () => ({
23
23
}
24
24
: undefined,{% endif %}
25
25
watch: {
26
- // 3. tell vite to ignore watching `src-tauri`
26
+ // 3. tell Vite to ignore watching `src-tauri`
27
27
ignored: ["**/src-tauri/**"],
28
28
},
29
29
},
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function greet() {
16
16
<h1>Welcome to Tauri + Vue</h1>
17
17
18
18
<div class="row">
19
- <a href="https://vitejs .dev" target="_blank">
19
+ <a href="https://vite .dev" target="_blank">
20
20
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
21
21
</a>
22
22
<a href="https://tauri.app" target="_blank">
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import vue from "@vitejs/plugin-vue";{% if v2 %}
4
4
// @ts-expect-error process is a nodejs global
5
5
const host = process.env.TAURI_DEV_HOST;{% endif %}
6
6
7
- // https://vitejs .dev/config/
7
+ // https://vite .dev/config/
8
8
export default defineConfig(async () => ({
9
9
plugins: [vue()],
10
10
11
11
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12
12
//
13
- // 1. prevent vite from obscuring rust errors
13
+ // 1. prevent Vite from obscuring rust errors
14
14
clearScreen: false,
15
15
// 2. tauri expects a fixed port, fail if that port is not available
16
16
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
25
25
}
26
26
: undefined,{% endif %}
27
27
watch: {
28
- // 3. tell vite to ignore watching `src-tauri`
28
+ // 3. tell Vite to ignore watching `src-tauri`
29
29
ignored: ["**/src-tauri/**"],
30
30
},
31
31
},
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function greet() {
16
16
<h1>Welcome to Tauri + Vue</h1>
17
17
18
18
<div class="row">
19
- <a href="https://vitejs .dev" target="_blank">
19
+ <a href="https://vite .dev" target="_blank">
20
20
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
21
21
</a>
22
22
<a href="https://tauri.app" target="_blank">
You can’t perform that action at this time.
0 commit comments