mirror of
https://gitee.com/coder-xiaomo/notes
synced 2025-01-11 20:18:16 +08:00
1 line
3.4 KiB
JavaScript
1 line
3.4 KiB
JavaScript
"use strict";(self.webpackChunkvuepress=self.webpackChunkvuepress||[]).push([[187],{4146:(s,e,a)=>{a.r(e),a.d(e,{data:()=>n});const n={key:"v-1588ebdd",path:"/dev.html",title:"",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[],filePathRelative:"dev.md",git:{updatedTime:164053506e4,contributors:[{name:"Coding Zhang",email:"2291200076@qq.com",commits:1}]}}},9415:(s,e,a)=>{a.r(e),a.d(e,{default:()=>m});var n=a(6252);const t=(0,n.Uk)("VuePress"),l=(0,n.Uk)("VuePress"),c=(0,n.Uk)("VuePress"),o=(0,n.uE)('<div class="custom-container tip"><p class="custom-container-title">提示</p><p>这是一个提示</p></div><div class="custom-container warning"><p class="custom-container-title">警告</p><p>这是一个警告</p><blockquote><p>aaa</p></blockquote></div><div class="custom-container danger"><p class="custom-container-title">危险警告</p><p>这是一个危险警告</p><div class="language-javascript ext-js line-numbers-mode"><pre class="language-javascript"><code><span class="token keyword">const</span> foo <span class="token operator">=</span> <span class="token string">'foo'</span>\n</code></pre><div class="line-numbers"><span class="line-number">1</span><br></div></div></div><details class="custom-container details"><summary>详细信息</summary><p>这是一个 details 标签</p></details>',4),i=(0,n._)("div",{class:"language-javascript ext-js line-numbers-mode"},[(0,n._)("pre",{class:"language-javascript"},[(0,n._)("code",null,[(0,n._)("span",{class:"token keyword"},"const"),(0,n.Uk)(" foo "),(0,n._)("span",{class:"token operator"},"="),(0,n.Uk)(),(0,n._)("span",{class:"token string"},"'foo'"),(0,n.Uk)("\n")])]),(0,n._)("div",{class:"line-numbers"},[(0,n._)("span",{class:"line-number"},"1"),(0,n._)("br")])],-1),r=(0,n._)("div",{class:"language-javascript ext-js line-numbers-mode"},[(0,n._)("pre",{class:"language-javascript"},[(0,n._)("code",null,[(0,n._)("span",{class:"token keyword"},"const"),(0,n.Uk)(" bar "),(0,n._)("span",{class:"token operator"},"="),(0,n.Uk)(),(0,n._)("span",{class:"token string"},"'bar'"),(0,n.Uk)("\n")])]),(0,n._)("div",{class:"line-numbers"},[(0,n._)("span",{class:"line-number"},"1"),(0,n._)("br")])],-1),u=(0,n._)("div",{class:"language-bash ext-sh"},[(0,n._)("pre",{class:"language-bash"},[(0,n._)("code",null,[(0,n._)("span",{class:"token function"},"yarn"),(0,n.Uk)("\n")])])],-1),p=(0,n._)("div",{class:"language-bash ext-sh"},[(0,n._)("pre",{class:"language-bash"},[(0,n._)("code",null,[(0,n._)("span",{class:"token function"},"npm"),(0,n.Uk)(),(0,n._)("span",{class:"token function"},"install"),(0,n.Uk)("\n")])])],-1),d={},m=(0,a(3744).Z)(d,[["render",function(s,e){const a=(0,n.up)("Badge"),d=(0,n.up)("CodeGroupItem"),m=(0,n.up)("CodeGroup");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("ul",null,[(0,n._)("li",null,[t,(0,n.Wm)(a,{type:"tip",text:"2",vertical:"top"})]),(0,n._)("li",null,[l,(0,n.Wm)(a,{type:"warning",text:"2",vertical:"middle"})]),(0,n._)("li",null,[c,(0,n.Wm)(a,{type:"danger",text:"2",vertical:"bottom"})])]),o,(0,n.Wm)(m,null,{default:(0,n.w5)((()=>[(0,n.Wm)(d,{title:"FOO"},{default:(0,n.w5)((()=>[i])),_:1}),(0,n.Wm)(d,{title:"BAR"},{default:(0,n.w5)((()=>[r])),_:1})])),_:1}),(0,n.Wm)(m,null,{default:(0,n.w5)((()=>[(0,n.Wm)(d,{title:"YARN"},{default:(0,n.w5)((()=>[u])),_:1}),(0,n.Wm)(d,{title:"NPM",active:""},{default:(0,n.w5)((()=>[p])),_:1})])),_:1})],64)}]])},3744:(s,e)=>{e.Z=(s,e)=>{const a=s.__vccOpts||s;for(const[s,n]of e)a[s]=n;return a}}}]); |