Ai
1 Star 0 Fork 6

cjs1992/docs

forked from umodoc/docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
next.config.js 441 Bytes
一键复制 编辑 原始数据 按行查看 历史
umodoc 提交于 2024-08-16 19:57 +08:00 . 错误修复
import nextra from 'nextra';
const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx',
defaultShowCopyCode: true
});
export default withNextra({
output: 'export',
images: {
unoptimized: true
},
reactStrictMode: true,
i18n: {
locales: ['cn', 'en'],
defaultLocale: 'cn'
},
async redirects() {
return [
{
source: '/',
destination: '/cn/docs',
permanent: true
}
];
}
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/cjs1992/docs.git
git@gitee.com:cjs1992/docs.git
cjs1992
docs
docs
main

搜索帮助