mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
nextjs
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -45,4 +45,8 @@ yarn-error.log*
|
||||
# sitemap
|
||||
/public/robots.txt
|
||||
/public/sitemap.xml
|
||||
/public/rss/*
|
||||
/public/rss/*
|
||||
|
||||
|
||||
# yarn
|
||||
package-lock.json
|
||||
@@ -93,7 +93,9 @@ module.exports = withBundleAnalyzer({
|
||||
// })
|
||||
// }
|
||||
// 动态主题:添加 resolve.alias 配置,将动态路径映射到实际路径
|
||||
console.log('加载默认主题', path.resolve(__dirname, 'themes', THEME))
|
||||
if (!isServer) {
|
||||
console.log('加载默认主题', path.resolve(__dirname, 'themes', THEME))
|
||||
}
|
||||
config.resolve.alias['@theme-components'] = path.resolve(__dirname, 'themes', THEME)
|
||||
return config
|
||||
},
|
||||
|
||||
9693
package-lock.json
generated
9693
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -37,7 +37,7 @@
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"memory-cache": "^0.2.0",
|
||||
"mongodb": "^4.6.0",
|
||||
"next": "13.5.1",
|
||||
"next": "14.1.0",
|
||||
"notion-client": "6.15.6",
|
||||
"notion-utils": "6.15.6",
|
||||
"nprogress": "^0.2.0",
|
||||
|
||||
Reference in New Issue
Block a user