Files
upage-git/upage/assets/js/a5796a8c.b65dd1b0.js
2025-09-29 03:02:50 +00:00

1 line
15 KiB
JavaScript

"use strict";(self.webpackChunkupage_docs=self.webpackChunkupage_docs||[]).push([[185],{3542:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>s,contentTitle:()=>c,default:()=>a,frontMatter:()=>i,metadata:()=>l,toc:()=>r});const l=JSON.parse('{"id":"deployment/logto","title":"Logto \u8ba4\u8bc1\u96c6\u6210","description":"UPage \u9ed8\u8ba4\u4ec5\u652f\u6301\u5355\u4e00\u533f\u540d\u7528\u6237\u8bbf\u95ee\uff0c\u4f46\u60a8\u53ef\u4ee5\u901a\u8fc7\u96c6\u6210 Logto \u5b9e\u73b0\u7528\u6237\u8ba4\u8bc1\uff0c\u652f\u6301\u591a\u7528\u6237\u767b\u5f55","source":"@site/content/deployment/logto.md","sourceDirName":"deployment","slug":"/deployment/logto","permalink":"/upage/deployment/logto","draft":false,"unlisted":false,"editUrl":"https://github.com/halo-dev/upage/edit/main/docs/content/content/deployment/logto.md","tags":[],"version":"current","frontMatter":{"id":"logto","title":"Logto \u8ba4\u8bc1\u96c6\u6210"},"sidebar":"tutorialSidebar","previous":{"title":"\u6e90\u7801\u90e8\u7f72","permalink":"/upage/deployment/source"},"next":{"title":"\u5176\u4ed6\u914d\u7f6e","permalink":"/upage/deployment/others"}}');var t=o(6106),d=o(8784);const i={id:"logto",title:"Logto \u8ba4\u8bc1\u96c6\u6210"},c="Logto \u8ba4\u8bc1\u96c6\u6210",s={},r=[{value:"\u4ec0\u4e48\u662f Logto\uff1f",id:"\u4ec0\u4e48\u662f-logto",level:2},{value:"Logto \u63a5\u5165\u65b9\u5f0f",id:"logto-\u63a5\u5165\u65b9\u5f0f",level:2},{value:"\u4f7f\u7528\u5b98\u65b9\u6258\u7ba1\u670d\u52a1",id:"\u4f7f\u7528\u5b98\u65b9\u6258\u7ba1\u670d\u52a1",level:3},{value:"\u672c\u5730\u90e8\u7f72 Logto",id:"\u672c\u5730\u90e8\u7f72-logto",level:3},{value:"\u914d\u7f6e Logto",id:"\u914d\u7f6e-logto",level:2},{value:"\u914d\u7f6e UPage \u4e0e Logto \u96c6\u6210",id:"\u914d\u7f6e-upage-\u4e0e-logto-\u96c6\u6210",level:2},{value:"\u73af\u5883\u53d8\u91cf\u914d\u7f6e",id:"\u73af\u5883\u53d8\u91cf\u914d\u7f6e",level:3},{value:"\u914d\u7f6e\u8bf4\u660e",id:"\u914d\u7f6e\u8bf4\u660e",level:3},{value:"Logto \u4f7f\u7528\u6280\u5de7",id:"logto-\u4f7f\u7528\u6280\u5de7",level:2},{value:"\u81ea\u5b9a\u4e49\u767b\u5f55\u754c\u9762",id:"\u81ea\u5b9a\u4e49\u767b\u5f55\u754c\u9762",level:3},{value:"\u914d\u7f6e\u793e\u4ea4\u767b\u5f55",id:"\u914d\u7f6e\u793e\u4ea4\u767b\u5f55",level:3},{value:"\u914d\u7f6e\u591a\u56e0\u7d20\u8ba4\u8bc1",id:"\u914d\u7f6e\u591a\u56e0\u7d20\u8ba4\u8bc1",level:3},{value:"\u4e0b\u4e00\u6b65",id:"\u4e0b\u4e00\u6b65",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"logto-\u8ba4\u8bc1\u96c6\u6210",children:"Logto \u8ba4\u8bc1\u96c6\u6210"})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"UPage \u9ed8\u8ba4\u4ec5\u652f\u6301\u5355\u4e00\u533f\u540d\u7528\u6237\u8bbf\u95ee\uff0c\u4f46\u60a8\u53ef\u4ee5\u901a\u8fc7\u96c6\u6210 Logto \u5b9e\u73b0\u7528\u6237\u8ba4\u8bc1\uff0c\u652f\u6301\u591a\u7528\u6237\u767b\u5f55"})}),"\n",(0,t.jsxs)(n.p,{children:["UPage \u652f\u6301\u4e0e ",(0,t.jsx)(n.a,{href:"https://logto.io/",children:"Logto"})," \u96c6\u6210\uff0c\u63d0\u4f9b\u5b8c\u6574\u7684\u7528\u6237\u8ba4\u8bc1\u4f53\u7cfb\u3002\u672c\u6587\u6863\u5c06\u6307\u5bfc\u60a8\u5982\u4f55\u914d\u7f6e UPage \u4e0e Logto \u7684\u96c6\u6210\u3002"]}),"\n",(0,t.jsx)(n.h2,{id:"\u4ec0\u4e48\u662f-logto",children:"\u4ec0\u4e48\u662f Logto\uff1f"}),"\n",(0,t.jsx)(n.p,{children:"Logto \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u8eab\u4efd\u9a8c\u8bc1\u548c\u6388\u6743\u89e3\u51b3\u65b9\u6848\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u7528\u6237\u7ba1\u7406\u3001\u8eab\u4efd\u9a8c\u8bc1\u548c\u6388\u6743\u529f\u80fd\u3002\u901a\u8fc7\u4e0e Logto \u96c6\u6210\uff0cUPage \u53ef\u4ee5\u652f\u6301\u7528\u6237\u6ce8\u518c\u3001\u767b\u5f55\u3001\u5bc6\u7801\u91cd\u7f6e\u7b49\u529f\u80fd\uff0c\u540c\u65f6\u63d0\u4f9b\u57fa\u4e8e\u89d2\u8272\u7684\u8bbf\u95ee\u63a7\u5236\u3002"}),"\n",(0,t.jsx)(n.h2,{id:"logto-\u63a5\u5165\u65b9\u5f0f",children:"Logto \u63a5\u5165\u65b9\u5f0f"}),"\n",(0,t.jsx)(n.p,{children:"Logto \u652f\u6301\u4e24\u79cd\u63a5\u5165\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u3002"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:"\u4f7f\u7528 Logto \u5b98\u65b9\u63d0\u4f9b\u7684\u6258\u7ba1\u670d\u52a1 - Logto Cloud\u3002"}),"\n",(0,t.jsx)(n.li,{children:"\u672c\u5730\u90e8\u7f72\u5f00\u6e90\u7248 Logto \u670d\u52a1\u3002"}),"\n"]}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"\u4e24\u79cd\u65b9\u5f0f\u4ec5\u5728\u63a5\u5165\u65b9\u5f0f\u4e0a\u6709\u6240\u533a\u522b\uff0c\u5728\u914d\u7f6e\u4e0a\u5b8c\u5168\u4e00\u81f4\u3002"})}),"\n",(0,t.jsx)(n.h3,{id:"\u4f7f\u7528\u5b98\u65b9\u6258\u7ba1\u670d\u52a1",children:"\u4f7f\u7528\u5b98\u65b9\u6258\u7ba1\u670d\u52a1"}),"\n",(0,t.jsxs)(n.p,{children:["\u8bbf\u95ee ",(0,t.jsx)(n.a,{href:"https://logto.io/",children:"Logto \u5b98\u65b9\u7f51\u7ad9"}),"\uff0c\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\u5373\u53ef\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c\u3002"]}),"\n",(0,t.jsx)(n.h3,{id:"\u672c\u5730\u90e8\u7f72-logto",children:"\u672c\u5730\u90e8\u7f72 Logto"}),"\n",(0,t.jsxs)(n.p,{children:["UPage \u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5316\u7684 Logto \u90e8\u7f72\u914d\u7f6e\u3002\u5728 UPage \u9879\u76ee\u76ee\u5f55\u4e0b\uff0c\u60a8\u53ef\u4ee5\u627e\u5230 ",(0,t.jsx)(n.code,{children:"logto/docker-compose.yaml"})," \u6587\u4ef6\u4ee5\u53ca ",(0,t.jsx)(n.code,{children:".env"})," \u6587\u4ef6\u3002"]}),"\n",(0,t.jsx)(n.p,{children:"\u5982\u679c\u662f\u5f00\u53d1\u73af\u5883\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"cd ./logto\ndocker-compose up -d\n"})}),"\n",(0,t.jsx)(n.p,{children:"\u5982\u679c\u662f\u751f\u4ea7\u73af\u5883\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"curl -L https://raw.githubusercontent.com/halo-dev/upage/refs/heads/main/logto/docker-compose.yaml -o ~/upage/logto/docker-compose.yaml\ncurl -L https://raw.githubusercontent.com/halo-dev/upage/refs/heads/main/logto/.env -o ~/upage/logto/.env\ncd ~/upage/logto\ndocker-compose up -d\n"})}),"\n",(0,t.jsxs)(n.p,{children:["\u8fd9\u5c06\u542f\u52a8 Logto \u670d\u52a1\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ef\u4ee5\u901a\u8fc7 ",(0,t.jsx)(n.code,{children:"http://localhost:3002"})," \u8bbf\u95ee Logto \u7ba1\u7406\u63a7\u5236\u53f0\u3002"]}),"\n",(0,t.jsx)(n.admonition,{type:"caution",children:(0,t.jsxs)(n.p,{children:["\u5728\u751f\u4ea7\u73af\u5883\u90e8\u7f72\u65f6\uff0c\u8bf7\u52a1\u5fc5\u4fee\u6539 ",(0,t.jsx)(n.code,{children:".env"})," \u6587\u4ef6\u4e2d\u7684 ",(0,t.jsx)(n.code,{children:"LOGTO_ENDPOINT"})," \u3001 ",(0,t.jsx)(n.code,{children:"LOGTO_ADMIN_ENDPOINT"})," \u4ee5\u53ca ",(0,t.jsx)(n.code,{children:"LOGTO_POSTGRES_PASSWORD"})," \u914d\u7f6e\u3002"]})}),"\n",(0,t.jsx)(n.h2,{id:"\u914d\u7f6e-logto",children:"\u914d\u7f6e Logto"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:"\u8bbf\u95ee Logto \u7ba1\u7406\u63a7\u5236\u53f0\uff0c"}),"\n",(0,t.jsxs)(n.li,{children:["\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5e94\u7528\u7a0b\u5e8f\uff1a","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"\u5e94\u7528\u7c7b\u578b\uff1a\u4f20\u7edf\u7f51\u9875\u5e94\u7528"}),"\n",(0,t.jsx)(n.li,{children:"\u5e94\u7528\u540d\u79f0\uff1aUPage"}),"\n",(0,t.jsxs)(n.li,{children:["\u91cd\u5b9a\u5411 URIs\uff1a",(0,t.jsx)(n.code,{children:"http://${UPAGE_URL}/api/auth/callback"})]}),"\n",(0,t.jsxs)(n.li,{children:["\u9000\u51fa\u767b\u5f55\u540e\u91cd\u5b9a\u5411 URIs\uff1a",(0,t.jsx)(n.code,{children:"http://${UPAGE_URL}"})]}),"\n",(0,t.jsxs)(n.li,{children:["CORS \u5141\u8bb8\u7684\u6765\u6e90\uff1a",(0,t.jsx)(n.code,{children:"http://${UPAGE_URL}"})]}),"\n",(0,t.jsx)(n.li,{children:"\u5176\u4ed6\u914d\u7f6e\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199"}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.li,{children:"\u8bb0\u5f55\u5e94\u7528\u7a0b\u5e8f\u7684 ID \u548c\u5bc6\u94a5\uff0c\u8fd9\u4e9b\u5c06\u7528\u4e8e\u914d\u7f6e UPage"}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"\u914d\u7f6e-upage-\u4e0e-logto-\u96c6\u6210",children:"\u914d\u7f6e UPage \u4e0e Logto \u96c6\u6210"}),"\n",(0,t.jsx)(n.h3,{id:"\u73af\u5883\u53d8\u91cf\u914d\u7f6e",children:"\u73af\u5883\u53d8\u91cf\u914d\u7f6e"}),"\n",(0,t.jsx)(n.p,{children:"\u5728 UPage \u7684\u73af\u5883\u53d8\u91cf\u4e2d\u914d\u7f6e Logto \u76f8\u5173\u53c2\u6570\uff1a"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"# \u542f\u7528 Logto \u8ba4\u8bc1\nLOGTO_ENABLE=true\n# Logto LOGTO_ENDPOINT \u5730\u5740\nLOGTO_ENDPOINT=http://localhost:3001\n# Logto \u5e94\u7528\u7a0b\u5e8f ID\nLOGTO_APP_ID=your-app-id\n# Logto \u5e94\u7528\u7a0b\u5e8f\u5bc6\u94a5\nLOGTO_APP_SECRET=your-app-secret\n# Logto \u7528\u4e8e\u52a0\u5bc6 cookie \u7684\u5bc6\u94a5\uff0c\u968f\u673a\u751f\u6210\u4e00\u4e2a 32 \u4f4d\u5bc6\u94a5\u5373\u53ef\nLOGTO_COOKIE_SECRET=your-cookie-secret\n# \u586b\u5199 UPage \u5730\u5740\uff0c\u6839\u636e\u5b9e\u9645\u90e8\u7f72\u5730\u5740\u4fee\u6539\nLOGTO_BASE_URL=http://localhost:3000\n"})}),"\n",(0,t.jsxs)(n.p,{children:["\u5982\u679c\u4f7f\u7528 Docker compose \u90e8\u7f72 UPage\uff0c\u5728 ",(0,t.jsx)(n.code,{children:"docker-compose.yml"})," \u6587\u4ef6\u4e2d\u6dfb\u52a0\u8fd9\u4e9b\u73af\u5883\u53d8\u91cf\uff1a"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"services:\n upage:\n # ... \u5176\u4ed6\u914d\u7f6e\n environment:\n # ... \u5176\u4ed6\u73af\u5883\u53d8\u91cf\n - LOGTO_ENABLE=true\n - LOGTO_ENDPOINT=http://logto:3001\n - LOGTO_APP_ID=your-app-id\n - LOGTO_APP_SECRET=your-app-secret\n - LOGTO_COOKIE_SECRET=your-cookie-secret\n - LOGTO_BASE_URL=http://localhost:3000\n"})}),"\n",(0,t.jsx)(n.h3,{id:"\u914d\u7f6e\u8bf4\u660e",children:"\u914d\u7f6e\u8bf4\u660e"}),"\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{children:"\u73af\u5883\u53d8\u91cf"}),(0,t.jsx)(n.th,{children:"\u63cf\u8ff0"}),(0,t.jsx)(n.th,{children:"\u793a\u4f8b"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_ENABLE"})}),(0,t.jsx)(n.td,{children:"\u662f\u5426\u542f\u7528 Logto \u8ba4\u8bc1"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"true"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_ENDPOINT"})}),(0,t.jsx)(n.td,{children:"Logto \u670d\u52a1\u7684 URL"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"http://localhost:3001"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_APP_ID"})}),(0,t.jsx)(n.td,{children:"Logto \u5e94\u7528\u7a0b\u5e8f ID"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"your-app-id"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_APP_SECRET"})}),(0,t.jsx)(n.td,{children:"Logto \u5e94\u7528\u7a0b\u5e8f\u5bc6\u94a5"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"your-app-secret"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_COOKIE_SECRET"})}),(0,t.jsx)(n.td,{children:"\u7528\u4e8e\u52a0\u5bc6 cookie \u7684\u5bc6\u94a5"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"00bf44b6ceaa648eca6ad172f0cd8c8c"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"LOGTO_BASE_URL"})}),(0,t.jsx)(n.td,{children:"UPage \u5730\u5740"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"http://localhost:3000"})})]})]})]}),"\n",(0,t.jsx)(n.h2,{id:"logto-\u4f7f\u7528\u6280\u5de7",children:"Logto \u4f7f\u7528\u6280\u5de7"}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsx)(n.p,{children:"UPage \u96c6\u6210 Logto \u6b65\u9aa4\u5df2\u5b8c\u6210\uff0c\u4ee5\u4e0b\u5185\u5bb9\u662f Logto \u7684\u7279\u6b8a\u4f7f\u7528\u6280\u5de7\uff0c\u4f9b\u6269\u5c55\u9605\u8bfb\uff0c\u5982\u65e0\u5b9a\u5236\u5316\u9700\u6c42\u53ef\u5ffd\u7565\u3002"})}),"\n",(0,t.jsx)(n.h3,{id:"\u81ea\u5b9a\u4e49\u767b\u5f55\u754c\u9762",children:"\u81ea\u5b9a\u4e49\u767b\u5f55\u754c\u9762"}),"\n",(0,t.jsx)(n.p,{children:"Logto \u63d0\u4f9b\u4e86\u81ea\u5b9a\u4e49\u767b\u5f55\u754c\u9762\u7684\u529f\u80fd\uff1a"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:'\u5728 Logto \u7ba1\u7406\u63a7\u5236\u53f0\u4e2d\uff0c\u5bfc\u822a\u5230"\u5916\u89c2"'}),"\n",(0,t.jsx)(n.li,{children:"\u81ea\u5b9a\u4e49\u767b\u5f55\u9875\u9762\u7684\u6837\u5f0f\u3001\u989c\u8272\u548c\u54c1\u724c\u5143\u7d20"}),"\n",(0,t.jsx)(n.li,{children:"\u9884\u89c8\u5e76\u4fdd\u5b58\u66f4\u6539"}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"\u914d\u7f6e\u793e\u4ea4\u767b\u5f55",children:"\u914d\u7f6e\u793e\u4ea4\u767b\u5f55"}),"\n",(0,t.jsx)(n.p,{children:"Logto \u652f\u6301\u591a\u79cd\u793e\u4ea4\u767b\u5f55\u65b9\u5f0f\uff1a"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:'\u5728 Logto \u7ba1\u7406\u63a7\u5236\u53f0\u4e2d\uff0c\u5bfc\u822a\u5230"\u8fde\u63a5\u5668"'}),"\n",(0,t.jsx)(n.li,{children:"\u6dfb\u52a0\u793e\u4ea4\u767b\u5f55\u8fde\u63a5\u5668\uff08\u5982 Google\u3001GitHub\u3001\u5fae\u4fe1\u7b49\uff09"}),"\n",(0,t.jsx)(n.li,{children:"\u6309\u7167\u5411\u5bfc\u5b8c\u6210\u914d\u7f6e"}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"\u914d\u7f6e\u591a\u56e0\u7d20\u8ba4\u8bc1",children:"\u914d\u7f6e\u591a\u56e0\u7d20\u8ba4\u8bc1"}),"\n",(0,t.jsx)(n.p,{children:"\u542f\u7528\u591a\u56e0\u7d20\u8ba4\u8bc1\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\uff1a"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsx)(n.li,{children:'\u5728 Logto \u7ba1\u7406\u63a7\u5236\u53f0\u4e2d\uff0c\u5bfc\u822a\u5230"\u5b89\u5168"'}),"\n",(0,t.jsx)(n.li,{children:"\u542f\u7528\u591a\u56e0\u7d20\u8ba4\u8bc1"}),"\n",(0,t.jsx)(n.li,{children:"\u914d\u7f6e\u591a\u56e0\u7d20\u8ba4\u8bc1\u65b9\u5f0f\uff08\u5982 TOTP\u3001\u77ed\u4fe1\u7b49\uff09"}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"\u4e0b\u4e00\u6b65",children:"\u4e0b\u4e00\u6b65"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\u9605\u8bfb",(0,t.jsx)(n.a,{href:"../user-guide/basics",children:"\u7528\u6237\u6307\u5357"}),"\u5b66\u4e60\u5982\u4f55\u4f7f\u7528 UPage \u521b\u5efa\u7f51\u9875"]}),"\n",(0,t.jsxs)(n.li,{children:["\u63a2\u7d22",(0,t.jsx)(n.a,{href:"../configuration",children:"\u914d\u7f6e\u53c2\u8003"}),"\u4e86\u89e3\u6240\u6709\u53ef\u7528\u7684\u914d\u7f6e\u9009\u9879"]}),"\n"]})]})}function a(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},8784:(e,n,o)=>{o.d(n,{R:()=>i,x:()=>c});var l=o(7378);const t={},d=l.createContext(t);function i(e){const n=l.useContext(d);return l.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),l.createElement(d.Provider,{value:n},e.children)}}}]);