-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs|unconfig-vitepress): hydration mismatches issues in some pag…
…es, missing components, and bad layout slots renderer (#111) Signed-off-by: Neko Ayaka <[email protected]>
- Loading branch information
1 parent
f5a3dde
commit 2d95d11
Showing
11 changed files
with
104 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Env Variables and Modes | Vite | ||
// https://vitejs.dev/guide/env-and-mode#intellisense-for-typescript | ||
|
||
interface ImportMetaEnv { | ||
readonly VUE_PROD_HYDRATION_MISMATCH_DETAILS_FLAG?: '1' | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 5 additions & 19 deletions
24
packages/vitepress-plugin-git-changelog/src/client/virtual.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
interface Commit { | ||
path: string[][] | ||
tag?: string | ||
release_tag_url?: string | ||
hash: string | ||
hash_url?: string | ||
date: string | ||
message: string | ||
refs?: string | ||
body?: string | ||
author_name: string | ||
author_email: string | ||
author_avatar: string | ||
repo_url?: string | ||
} | ||
declare module 'virtual:nolebase-git-changelog' { | ||
import type { Commit } from '../types' | ||
|
||
interface Changelog { | ||
commits: Commit[] | ||
} | ||
interface Changelog { | ||
commits: Commit[] | ||
} | ||
|
||
declare module 'virtual:nolebase-git-changelog' { | ||
const changelog: Changelog | ||
export default changelog | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.