@uiw/doc
Version:
UIW documentation website.
2 lines • 3.85 kB
JavaScript
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4154],{4934:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=4934,e.exports=t},5301:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(8573),s=r(6320),i=r(8563),o=r(7622),a=r(7937);const c={docinfo:"index_docinfo__3Vx8S",markdown:"index_markdown__hcQCp",markdownWrap:"index_markdownWrap__t60jR"};var u=r(4760);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{path:t}=e,r=/^http/.test(t||"")?t:"https://github.com/uiwjs/uiw/blob/master/".concat(t);return(0,u.jsxs)("div",{className:c.docinfo,children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",r&&(0,u.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,u.jsx)(a.Divider,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,u.jsx)(a.Divider,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,u.jsx)(a.Divider,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,u.jsx)(a.Divider,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,u.jsx)(a.Divider,{type:"vertical"}),(0,u.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}const l=s.ZP.Preview,h=s.ZP.Code,p=s.ZP.Toolbar,b=e=>{var t,r;let{node:o,components:a,data:c,...d}=e;const b=(0,n.useRef)(null),{headings:w,headingsList:j,...m}=d;(0,n.useEffect)((()=>{if(b.current){const e=b.current.parentElement;e&&e.parentElement&&e.parentElement.replaceChild(b.current,e)}}),[b]);const f=null===o||void 0===o||null===(t=o.position)||void 0===t?void 0:t.start.line,g=null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.meta,v=(0,i.Mx)(g)||String(f),x=a["".concat(v)];if(v&&"function"===typeof x){const e=c[v].value||"",t=(0,i.aE)(g||"");return(0,u.jsxs)(s.ZP,{ref:b,children:[(0,u.jsx)(l,{style:{background:t.bg||"transparent"},children:(0,u.jsx)(x,{})}),(0,u.jsx)(p,{text:e,children:t.title||"Example"}),(0,u.jsx)(h,{children:(0,u.jsx)("pre",{...m})})]})}return(0,u.jsx)("code",{...m})};function w(e){return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)(o.Z,{className:c.markdownWrap,source:e.source||"",disableCopy:!0,wrapperElement:{"data-color-mode":"light"},components:{code:t=>(0,u.jsx)(b,{...e,...t})}}),(0,u.jsx)(d,{path:e.path})]})}},6552:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});const n={components:{},data:{},source:"VSCode \u63d2\u4ef6\n===\n\n\u53ef\u4ee5\u5728 VSCode\u4e2d\u5b89\u88c5 [@uiwjs/vscode-uiw](https://github.com/uiwjs/vscode-uiw) \u63d2\u4ef6\uff0c\u65b9\u4fbf\u5feb\u901f\u67e5\u770b\u6587\u6863\u3002\n\n[](https://marketplace.visualstudio.com/items?itemName=uiw.uiw)\n\n## \u754c\u9762\u9884\u89c8\n\n\n",headings:[],headingsList:[]};var s=r(5301),i=r(4760);function o(){return(0,i.jsx)(s.Z,{...n,path:"https://github.com/uiwjs/uiw/tree/master/website/src/routes/guide/vscode/README.md"})}}}]);
//# sourceMappingURL=4154.fd64bd5c.chunk.js.map