Module

x/alita/theme.config.ts

A React framework based on umi.
Go to Latest
File
// @ts-ignoreimport AlitaLogo from './logo.png';
export default { title: 'Alita', description: '基于 Umi 的 React 前端框架', logo: AlitaLogo, github: 'https://github.com/alitajs/alita', i18n: [ { locale: 'en-US', text: 'English' }, { locale: 'zh-CN', text: '简体中文' }, ], searchHotKey: { macos: '⌘+k', windows: 'ctrl+k', }, navs: [ { path: '/docs', title: 'Docs', type: 'nav', children: [ // { // title: 'Tutorials', // children: ['tutorials/getting-started', 'tutorials/blog'], // }, { title: 'Introduce', children: ['introduce/introduce', 'introduce/upgrade-to-alita-3'], }, { title: 'API', children: [ 'api/api', 'api/config', 'api/runtime-config', 'api/commands', ], }, { title: 'Guides', children: [ 'guides/prepare', 'guides/directory-structure', 'guides/mock', 'guides/proxy', 'guides/helmet', 'guides/env-variables', 'guides/boilerplate', 'guides/generator', 'guides/native', ], }, ], }, { path: '/blog', title: 'Blog', type: 'nav', children: [ { title: 'Blog', children: [], }, ], }, { path: '/components', title: 'Components', type: 'nav', children: [ { title: '组件', children: [ 'd-form', 'list-view', 'alita-layout', 'd-a-d', 'gesture-password', ], }, ], }, ],};