vitepress-blog/.vitepress/sidebar.ts

52 lines
2.3 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 + '阅读版本' },
{ text: '入口文件', link: hyperf + '入口文件' },
{ text: 'init', link: hyperf + 'init' },
{ 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: 'index入口文件', link: laravel + 'index入口文件' },
{ text: 'laravel配置', link: laravel + 'laravel配置' },
{ text: '处理请求', link: laravel + '处理请求' },
{ text: '实例化容器', link: laravel + '实例化容器' },
{ text: '实现自动加载', link: laravel + '实现自动加载' },
{ 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: '杂记',
collapsed: true,
items: [
{ 'text': 'env文件读取', link: record + 'env文件读取' },
{ 'text': '主题语法', link: record + '主题语法' },
{ 'text': 'iStoreOS路由系统', link: record + 'iStoreOS路由系统' },
{ 'text': 'NGINX-PROXY', link: record + 'NGINX-PROXY' }
]
}
]