vitepress-blog/.vitepress/sidebar.ts
2024-07-09 18:33:02 +09:00

57 lines
2.7 KiB
TypeScript

var record = '/record/'
var hyperf = '/hyperf/'
var laravel = '/laravel/'
export default [
{
// Hyperf
text: 'Hyperf',
collapsed: true,
items: [
{ text: '阅读版本', link: hyperf + '阅读版本' },
{ text: '入口文件', link: hyperf + '入口文件' },
{ text: '初始化依赖注入 (DI) 容器', link: hyperf + '初始化依赖注入 (DI) 容器' },
{ text: 'container', link: hyperf + 'container' },
{ text: '启动服务', link: hyperf + '启动服务' },
{ text: '请求', link: hyperf + '请求' },
{ text: '路由寻址', link: hyperf + '路由寻址' },
{ text: '中间件', link: hyperf + '中间件' },
{ text: '响应', link: hyperf + '响应' },
]
},
{
// Laravel
text: 'Laravel',
collapsed: true,
items: [
{ text: 'laravel配置', link: laravel + 'laravel配置' },
{ text: 'index入口文件', link: laravel + 'index入口文件' },
{ text: '实现自动加载', link: laravel + '实现自动加载' },
{ text: '实例化容器', link: laravel + '实例化容器' },
{ text: '设置基础目录', link: laravel + '设置基础目录' },
{ text: '注册基础绑定', link: laravel + '注册基础绑定' },
{ text: '注册服务提供者', link: laravel + '注册服务提供者' },
{ text: '注册核心别名类', link: laravel + '注册核心别名类' },
{ text: '解析HTTP内核', link: laravel + '解析HTTP内核' },
{ text: '处理请求', link: laravel + '处理请求' },
{ text: '解析路由', link: laravel + '解析路由' },
{ 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' },
]
},
{
text: '杂记',
collapsed: true,
items: [
{ 'text': 'env文件读取', link: record + 'env文件读取' },
{ 'text': '主题语法', link: record + '主题语法' },
{ 'text': 'iStoreOS路由系统', link: record + 'iStoreOS路由系统' },
{ 'text': 'NGINX-PROXY', link: record + 'NGINX-PROXY' }
]
}
]