first commit

This commit is contained in:
ltProj
2025-09-24 22:57:54 +08:00
commit a732a74e05
24 changed files with 23370 additions and 0 deletions

44
.umirc.ts Normal file
View File

@@ -0,0 +1,44 @@
import { defineConfig } from "umi";
export default defineConfig({
routes: [
{
path: "/",
component: "index",
name: "首页"
},
{
path: "/topic/:id",
component: "topic/detail",
name: "话题详情"
},
{
path: "/publish",
component: "topic/publish",
name: "发布话题"
},
],
npmClient: 'npm',
plugins: [
'@umijs/plugins/dist/antd',
'@umijs/plugins/dist/locale',
'@umijs/plugins/dist/layout',
],
antd: {},
theme: {
colorPrimary: '#6f8cff',
colorPrimaryActive: '#6f8cff',
colorPrimaryHover: '#a7bfff',
},
locale: {
default: 'zh-CN',
antd: true,
},
layout: false,
title: 'AutoBeeAgent',
favicons: ['/favicon.ico'],
metas: [
{ name: 'keywords', content: 'AutoBeeAgent,热门话题,讨论,交流' },
{ name: 'description', content: 'AutoBeeAgent用户热门话题讨论平台' },
],
});