mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
base64 decode, announcement pill
This commit is contained in:
parent
34c1f13d8b
commit
b80e26444d
10 changed files with 159 additions and 17 deletions
|
|
@ -6,6 +6,7 @@ import { commitRef, meta } from "./constants";
|
|||
import { pwa } from "./pwa";
|
||||
import { generateMeta } from "./hooks/meta";
|
||||
import { fileURLToPath } from "url";
|
||||
import { copyableCodePlugin } from "./markdown";
|
||||
|
||||
export default defineConfig({
|
||||
title: "FMHY",
|
||||
|
|
@ -57,14 +58,19 @@ export default defineConfig({
|
|||
},
|
||||
resolve: {
|
||||
alias: [
|
||||
{
|
||||
find: /^.*VPSwitchAppearance\.vue$/,
|
||||
replacement: fileURLToPath(
|
||||
new URL("./theme/components/ThemeSwitch.vue", import.meta.url),
|
||||
),
|
||||
},
|
||||
]
|
||||
}
|
||||
{
|
||||
find: /^.*VPSwitchAppearance\.vue$/,
|
||||
replacement: fileURLToPath(
|
||||
new URL("./theme/components/ThemeSwitch.vue", import.meta.url),
|
||||
),
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
markdown: {
|
||||
config(md) {
|
||||
md.use(copyableCodePlugin);
|
||||
},
|
||||
},
|
||||
themeConfig: {
|
||||
search: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue