feat: View_Transitions_API

This commit is contained in:
camera-2018
2023-07-27 04:15:05 +08:00
parent 60e4ae84aa
commit 6f95d74d9f
2 changed files with 196 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import PanguPlugin from 'markdown-it-pangu'
import { createWriteStream } from 'node:fs'
import { resolve } from 'node:path'
import { SitemapStream } from 'sitemap'
import { fileURLToPath, URL } from 'node:url'
const links = []
@@ -175,5 +176,17 @@ export default withMermaid({
sitemap.end()
await new Promise((r) => writeStream.on('finish', r))
},
vite: {
resolve: {
alias: [
{
find: /^.*\/VPSwitchAppearance\.vue$/,
replacement: fileURLToPath(
new URL('./components/CustomSwitchAppearance.vue', import.meta.url)
)
}
]
}
}
})