登录结合OpenWrite

This commit is contained in:
tangly1024.com
2024-09-24 18:19:48 +08:00
parent 32a113fbce
commit 964513b1e9
18 changed files with 244 additions and 24 deletions

View File

@@ -194,6 +194,8 @@ const nextConfig = {
},
webpack: (config, { dev, isServer }) => {
// 动态主题:添加 resolve.alias 配置,将动态路径映射到实际路径
config.resolve.alias['@'] = path.resolve(__dirname)
if (!isServer) {
console.log('[默认主题]', path.resolve(__dirname, 'themes', THEME))
}