vitepress-blog/.vitepress/sidebar.ts

59 lines
3.0 KiB
TypeScript
Raw Normal View History

2024-07-08 17:15:43 +08:00
var record = '/record/'
var hyperf = '/hyperf/'
var laravel = '/laravel/'
export default [
{
// Hyperf
text: 'Hyperf',
collapsed: true,
items: [
{ text: '入口文件', link: hyperf + '入口文件' },
2024-07-10 09:56:08 +08:00
{ text: '初始化依赖注入 (DI) 容器', link: hyperf + 'DI' },
{ text: '初始化容器类', link: hyperf + 'container' },
2024-07-08 17:15:43 +08:00
{ text: '启动服务', link: hyperf + '启动服务' },
2024-07-11 16:31:38 +08:00
{ text: '接收请求', link: hyperf + '接收请求' },
2024-07-09 17:33:02 +08:00
{ text: '响应', link: hyperf + '响应' },
2024-07-10 17:42:33 +08:00
{ text: '附录1 container的get方法', link: hyperf + '附录1 container的get方法' },
{ text: '附录2 注解命令获取', link: hyperf + '附录2 注解命令获取' },
{ text: '附录3 命令注册Application', link: hyperf + '附录3 命令注册Application' },
{ text: '附录4 Application Run方法', link: hyperf + '附录4 Application_Run' },
2024-07-11 16:31:38 +08:00
{ text: '附录5 初始化中间件', link: hyperf + '附录5 初始化中间件' },
2024-07-08 17:15:43 +08:00
]
},
{
// Laravel
text: 'Laravel',
collapsed: true,
items: [
{ text: 'laravel配置', link: laravel + 'laravel配置' },
2024-07-09 17:33:02 +08:00
{ text: 'index入口文件', link: laravel + 'index入口文件' },
2024-07-08 17:15:43 +08:00
{ text: '实现自动加载', link: laravel + '实现自动加载' },
2024-07-09 17:33:02 +08:00
{ text: '实例化容器', link: laravel + '实例化容器' },
{ text: '设置基础目录', link: laravel + '设置基础目录' },
2024-07-08 17:15:43 +08:00
{ text: '注册基础绑定', link: laravel + '注册基础绑定' },
{ text: '注册服务提供者', link: laravel + '注册服务提供者' },
2024-07-09 17:33:02 +08:00
{ text: '注册核心别名类', link: laravel + '注册核心别名类' },
2024-07-08 17:15:43 +08:00
{ text: '解析HTTP内核', link: laravel + '解析HTTP内核' },
2024-07-09 17:33:02 +08:00
{ text: '处理请求', link: laravel + '处理请求' },
2024-07-08 17:15:43 +08:00
{ text: '解析路由', link: laravel + '解析路由' },
2024-07-09 17:33:02 +08:00
{ text: '容器类', link: laravel + '容器类' },
{ text: '渲染页面', link: laravel + '渲染页面' },
{ text: '终止', link: laravel + '终止' },
{ text: '服务提供者', link: laravel + '服务提供者' },
{ text: 'facades', link: laravel + 'facades' },
{ text: '用户认证', link: laravel + 'auth' },
{ text: 'Eloquent查询构造器_1', link: laravel + 'Eloquent查询构造器_1' },
{ text: 'Eloquent查询构造器_2', link: laravel + 'Eloquent查询构造器_2' },
2024-07-08 17:15:43 +08:00
]
},
{
text: '杂记',
collapsed: true,
items: [
{ 'text': 'env文件读取', link: record + 'env文件读取' },
{ 'text': '主题语法', link: record + '主题语法' },
{ 'text': 'iStoreOS路由系统', link: record + 'iStoreOS路由系统' },
{ 'text': 'NGINX-PROXY', link: record + 'NGINX-PROXY' }
]
}
]