Skip to content

Commit 4f3d0ef

Browse files
committed
docs(en): merging all conflicts
2 parents 8fd61c7 + 421e971 commit 4f3d0ef

File tree

4 files changed

+41
-6
lines changed

4 files changed

+41
-6
lines changed

.vitepress/theme/components/AsideSponsors.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ const sponsors = computed(() => {
2121
<template>
2222
<a
2323
class="viteconf"
24-
href="https://viteconf.org/24/replay?utm=vite-sidebar"
24+
href="https://viteconf.org/?utm=vite-sidebar"
2525
target="_blank"
2626
>
2727
<img width="22" height="22" src="/viteconf.svg" alt="ViteConf Logo" />
2828
<span>
2929
<p class="extra-info">Building Together</p>
30-
<p class="heading">ViteConf 2024</p>
31-
<p class="extra-info">Watch the replay!</p>
30+
<p class="heading">ViteConf 2025</p>
31+
<p class="extra-info">First time in-person!</p>
3232
</span>
3333
</a>
3434
<VPDocAsideSponsors v-if="data" :data="sponsors" />

.vitepress/theme/components/landing/1. hero-section/HeroSection.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import HeroDiagram from './HeroDiagram.vue'
55
<template>
66
<div class="hero">
77
<div class="container">
8-
<!-- ViteConf Replay Button -->
8+
<!-- ViteConf 2025 Button -->
99
<a
10-
href="https://viteconf.org/24/replay?utm=vite"
10+
href="https://viteconf.org/?utm=vite"
1111
class="hero__pill"
1212
target="_blank"
1313
>
1414
<img src="/viteconf.svg" alt="Viteconf logo" width="20" height="20" />
15-
<span>ViteConf 2024 Talks</span>
15+
<span>ViteConf 2025</span>
1616
</a>
1717

1818
<!-- Heading -->

config/index.md

+16
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,19 @@ export default defineConfig(({ mode }) => {
121121
}
122122
})
123123
```
124+
125+
## Debugging the Config File on VS Code
126+
127+
With the default `--configLoader bundle` behavior, Vite writes the generated temporary configuration file to the `node_modules/.vite-temp` folder and a file not found error will occur when setting breakpoint debugging in the Vite config file. To fix the issue, add the following configuration to `.vscode/settings.json`:
128+
129+
```json
130+
{
131+
"debug.javascript.terminalOptions": {
132+
"resolveSourceMapLocations": [
133+
"${workspaceFolder}/**",
134+
"!**/node_modules/**",
135+
"**/node_modules/.vite-temp/**"
136+
]
137+
}
138+
}
139+
```

package.json

+19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
<<<<<<< HEAD
23
"name": "vite-docs-cn",
34
"version": "1.0.0",
45
"description": "Vite.js documentation Chinese translation.",
@@ -32,4 +33,22 @@
3233
"gitHooks": {
3334
"commit-msg": "node scripts/verifyCommit.js"
3435
}
36+
=======
37+
"name": "docs",
38+
"private": true,
39+
"type": "module",
40+
"scripts": {
41+
"docs": "vitepress dev",
42+
"docs-build": "vitepress build",
43+
"docs-serve": "vitepress serve"
44+
},
45+
"devDependencies": {
46+
"@shikijs/vitepress-twoslash": "^2.5.0",
47+
"@types/express": "^4.17.21",
48+
"feed": "^4.2.2",
49+
"vitepress": "^1.6.3",
50+
"vitepress-plugin-group-icons": "^1.3.7",
51+
"vue": "^3.5.13"
52+
}
53+
>>>>>>> 421e971fd16a72efed9acdfc584773c6f950d495
3554
}

0 commit comments

Comments
 (0)