mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
less ugly appearance switch
This commit is contained in:
parent
23878e3f3e
commit
34c1f13d8b
5 changed files with 87 additions and 7 deletions
|
|
@ -5,6 +5,7 @@ import { presetUno, presetAttributify, presetIcons } from "unocss";
|
|||
import { commitRef, meta } from "./constants";
|
||||
import { pwa } from "./pwa";
|
||||
import { generateMeta } from "./hooks/meta";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
export default defineConfig({
|
||||
title: "FMHY",
|
||||
|
|
@ -54,6 +55,16 @@ export default defineConfig({
|
|||
// Shut the fuck up
|
||||
chunkSizeWarningLimit: Infinity,
|
||||
},
|
||||
resolve: {
|
||||
alias: [
|
||||
{
|
||||
find: /^.*VPSwitchAppearance\.vue$/,
|
||||
replacement: fileURLToPath(
|
||||
new URL("./theme/components/ThemeSwitch.vue", import.meta.url),
|
||||
),
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
themeConfig: {
|
||||
search: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue