Skip to content

Commit ff52add

Browse files
authored
style: fix Vite, Svelte and React branding (#874)
1 parent 5e91b27 commit ff52add

File tree

24 files changed

+52
-52
lines changed

24 files changed

+52
-52
lines changed

templates/template-preact-ts/src/App.tsx.lte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function App() {
1717
<h1>Welcome to Tauri + Preact</h1>
1818

1919
<div class="row">
20-
<a href="https://vitejs.dev" target="_blank">
20+
<a href="https://vite.dev" target="_blank">
2121
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
2222
</a>
2323
<a href="https://tauri.app" target="_blank">

templates/template-preact-ts/vite.config.ts.lte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import preact from "@preact/preset-vite";{% if v2 %}
44
// @ts-expect-error process is a nodejs global
55
const host = process.env.TAURI_DEV_HOST;{% endif %}
66

7-
// https://vitejs.dev/config/
7+
// https://vite.dev/config/
88
export default defineConfig(async () => ({
99
plugins: [preact()],
1010

1111
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1212
//
13-
// 1. prevent vite from obscuring rust errors
13+
// 1. prevent Vite from obscuring rust errors
1414
clearScreen: false,
1515
// 2. tauri expects a fixed port, fail if that port is not available
1616
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
2525
}
2626
: undefined,{% endif %}
2727
watch: {
28-
// 3. tell vite to ignore watching `src-tauri`
28+
// 3. tell Vite to ignore watching `src-tauri`
2929
ignored: ["**/src-tauri/**"],
3030
},
3131
},

templates/template-preact/src/App.jsx.lte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function App() {
1717
<h1>Welcome to Tauri + Preact</h1>
1818

1919
<div class="row">
20-
<a href="https://vitejs.dev" target="_blank">
20+
<a href="https://vite.dev" target="_blank">
2121
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
2222
</a>
2323
<a href="https://tauri.app" target="_blank">

templates/template-preact/vite.config.js.lte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import preact from "@preact/preset-vite";{% if v2 %}
33

44
const host = process.env.TAURI_DEV_HOST;{% endif %}
55

6-
// https://vitejs.dev/config/
6+
// https://vite.dev/config/
77
export default defineConfig(async () => ({
88
plugins: [preact()],
99

1010
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1111
//
12-
// 1. prevent vite from obscuring rust errors
12+
// 1. prevent Vite from obscuring rust errors
1313
clearScreen: false,
1414
// 2. tauri expects a fixed port, fail if that port is not available
1515
server: {
@@ -24,7 +24,7 @@ export default defineConfig(async () => ({
2424
}
2525
: undefined,{% endif %}
2626
watch: {
27-
// 3. tell vite to ignore watching `src-tauri`
27+
// 3. tell Vite to ignore watching `src-tauri`
2828
ignored: ["**/src-tauri/**"],
2929
},
3030
},

templates/template-react-ts/src/App.tsx.lte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ function App() {
1717
<h1>Welcome to Tauri + React</h1>
1818

1919
<div className="row">
20-
<a href="https://vitejs.dev" target="_blank">
20+
<a href="https://vite.dev" target="_blank">
2121
<img src="/vite.svg" className="logo vite" alt="Vite logo" />
2222
</a>
2323
<a href="https://tauri.app" target="_blank">
2424
<img src="/tauri.svg" className="logo tauri" alt="Tauri logo" />
2525
</a>
26-
<a href="https://reactjs.org" target="_blank">
26+
<a href="https://react.dev" target="_blank">
2727
<img src={reactLogo} className="logo react" alt="React logo" />
2828
</a>
2929
</div>

templates/template-react-ts/vite.config.ts.lte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import react from "@vitejs/plugin-react";{% if v2 %}
44
// @ts-expect-error process is a nodejs global
55
const host = process.env.TAURI_DEV_HOST;{% endif %}
66

7-
// https://vitejs.dev/config/
7+
// https://vite.dev/config/
88
export default defineConfig(async () => ({
99
plugins: [react()],
1010

1111
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1212
//
13-
// 1. prevent vite from obscuring rust errors
13+
// 1. prevent Vite from obscuring rust errors
1414
clearScreen: false,
1515
// 2. tauri expects a fixed port, fail if that port is not available
1616
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
2525
}
2626
: undefined,{% endif %}
2727
watch: {
28-
// 3. tell vite to ignore watching `src-tauri`
28+
// 3. tell Vite to ignore watching `src-tauri`
2929
ignored: ["**/src-tauri/**"],
3030
},
3131
},

templates/template-react/src/App.jsx.lte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ function App() {
1717
<h1>Welcome to Tauri + React</h1>
1818

1919
<div className="row">
20-
<a href="https://vitejs.dev" target="_blank">
20+
<a href="https://vite.dev" target="_blank">
2121
<img src="/vite.svg" className="logo vite" alt="Vite logo" />
2222
</a>
2323
<a href="https://tauri.app" target="_blank">
2424
<img src="/tauri.svg" className="logo tauri" alt="Tauri logo" />
2525
</a>
26-
<a href="https://reactjs.org" target="_blank">
26+
<a href="https://react.dev" target="_blank">
2727
<img src={reactLogo} className="logo react" alt="React logo" />
2828
</a>
2929
</div>

templates/template-react/vite.config.js.lte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import react from "@vitejs/plugin-react";{% if v2 %}
33

44
const host = process.env.TAURI_DEV_HOST;{% endif %}
55

6-
// https://vitejs.dev/config/
6+
// https://vite.dev/config/
77
export default defineConfig(async () => ({
88
plugins: [react()],
99

1010
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1111
//
12-
// 1. prevent vite from obscuring rust errors
12+
// 1. prevent Vite from obscuring rust errors
1313
clearScreen: false,
1414
// 2. tauri expects a fixed port, fail if that port is not available
1515
server: {
@@ -24,7 +24,7 @@ export default defineConfig(async () => ({
2424
}
2525
: undefined,{% endif %}
2626
watch: {
27-
// 3. tell vite to ignore watching `src-tauri`
27+
// 3. tell Vite to ignore watching `src-tauri`
2828
ignored: ["**/src-tauri/**"],
2929
},
3030
},

templates/template-solid-ts/src/App.tsx.lte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function App() {
1717
<h1>Welcome to Tauri + Solid</h1>
1818

1919
<div class="row">
20-
<a href="https://vitejs.dev" target="_blank">
20+
<a href="https://vite.dev" target="_blank">
2121
<img src="/vite.svg" class="logo vite" alt="Vite logo" />
2222
</a>
2323
<a href="https://tauri.app" target="_blank">

templates/template-solid-ts/vite.config.ts.lte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import solid from "vite-plugin-solid";{% if v2 %}
44
// @ts-expect-error process is a nodejs global
55
const host = process.env.TAURI_DEV_HOST;{% endif %}
66

7-
// https://vitejs.dev/config/
7+
// https://vite.dev/config/
88
export default defineConfig(async () => ({
99
plugins: [solid()],
1010

1111
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
1212
//
13-
// 1. prevent vite from obscuring rust errors
13+
// 1. prevent Vite from obscuring rust errors
1414
clearScreen: false,
1515
// 2. tauri expects a fixed port, fail if that port is not available
1616
server: {
@@ -25,7 +25,7 @@ export default defineConfig(async () => ({
2525
}
2626
: undefined,{% endif %}
2727
watch: {
28-
// 3. tell vite to ignore watching `src-tauri`
28+
// 3. tell Vite to ignore watching `src-tauri`
2929
ignored: ["**/src-tauri/**"],
3030
},
3131
},

0 commit comments

Comments
 (0)