vuepress-theme-plume/assets/node-xE86_eP6.js

1 line
6.9 KiB
JavaScript

import{$ as e,B as t,P as n,_ as r,f as i,g as a,h as o,l as s}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as c}from"./plugin-vue_export-helper-CxTVcLa7.js";var l=JSON.parse(`{"path":"/guide/api/node/","title":"Node | 指南","lang":"zh-CN","frontmatter":{"title":"Node","icon":"fa6-brands:node","createTime":"2024/03/07 21:59:13","permalink":"/guide/api/node/","description":"使用 plumeTheme(options) options : PlumeThemeOptions 主题配置函数。 查看 了解更多。 defineThemeConfig(options) 主题配置帮助函数,用于在单独的 plume.config.ts 中使用。 查看 了解更多。 defineNavbarConfig(options) 主题导航栏配置类...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Node\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-07T15:13:09.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/guide/api/node/"}],["meta",{"property":"og:site_name","content":"Plume 主题"}],["meta",{"property":"og:title","content":"Node"}],["meta",{"property":"og:description","content":"使用 plumeTheme(options) options : PlumeThemeOptions 主题配置函数。 查看 了解更多。 defineThemeConfig(options) 主题配置帮助函数,用于在单独的 plume.config.ts 中使用。 查看 了解更多。 defineNavbarConfig(options) 主题导航栏配置类..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2025-10-07T15:13:09.000Z"}],["meta",{"property":"article:modified_time","content":"2025-10-07T15:13:09.000Z"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://theme-plume.vuejs.press/en/guide/api/node/"}]]},"readingTime":{"minutes":0.55,"words":166},"git":{"createdTime":1709915848000,"updatedTime":1759849989000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":7,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"},{"hash":"0fd6cac57412002f4d72dc10378789b529adc357","time":1742063370000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"refactor(theme): improve types and flat config (#524)"},{"hash":"6e6f9af12cfa52770de67ee966bd15b37c3256dc","time":1740886005000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: improve docs (#509)"},{"hash":"27fdc6943beff1c5e59997ffd39bab36c1a96769","time":1723948434000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update docs"},{"hash":"e35e3d99ef3bca8d9b2da681f9f86029d4e018fa","time":1721060258000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update docs"},{"hash":"920d3d115723141dfa8a35ec376c8e372f188a53","time":1710362649000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update docs"},{"hash":"c56bae8d58941db05a5cb1faad45be2178331db3","time":1709915848000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat: 全新的文档!"}]},"autoDesc":true,"filePathRelative":"guide/api/node.md","headers":[],"bulletin":false}`),u={name:`node.md`};function d(c,l,u,d,f,p){let m=t(`VPLink`);return n(),i(`div`,null,[l[15]||=o(`<h2 id="使用" tabindex="-1"><a class="header-anchor" href="#使用"><span>使用</span></a></h2><div class="language-ts" data-highlighter="shiki" data-ext="ts" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-ts"><span class="line"><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">import</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> {</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;"> plumeTheme</span><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span></span></code></pre></div><h2 id="plumetheme-options" tabindex="-1"><a class="header-anchor" href="#plumetheme-options"><span><code>plumeTheme(options)</code></span></a></h2><p><strong>options</strong> : <code>PlumeThemeOptions</code></p><p>主题配置函数。</p>`,5),s(`p`,null,[l[1]||=a(`查看 `,-1),r(m,{href:`../config/theme.md`},{default:e(()=>[...l[0]||=[a(`主题配置`,-1)]]),_:1}),l[2]||=a(` 了解更多。`,-1)]),l[16]||=s(`h2`,{id:`definethemeconfig-options`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#definethemeconfig-options`},[s(`span`,null,[s(`code`,null,`defineThemeConfig(options)`)])])],-1),l[17]||=s(`p`,null,[a(`主题配置帮助函数,用于在单独的 `),s(`code`,null,`plume.config.ts`),a(` 中使用。`)],-1),s(`p`,null,[l[4]||=a(`查看 `,-1),r(m,{href:`../config/intro.md#%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6`},{default:e(()=>[...l[3]||=[a(`主题配置文件`,-1)]]),_:1}),l[5]||=a(` 了解更多。`,-1)]),l[18]||=s(`h2`,{id:`definenavbarconfig-options`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#definenavbarconfig-options`},[s(`span`,null,[s(`code`,null,`defineNavbarConfig(options)`)])])],-1),l[19]||=s(`p`,null,`主题导航栏配置类型帮助函数。`,-1),s(`p`,null,[l[7]||=a(`查看 `,-1),r(m,{href:`../config/navbar.md`},{default:e(()=>[...l[6]||=[a(`主题配置`,-1)]]),_:1}),l[8]||=a(` 了解更多。`,-1)]),l[20]||=s(`h2`,{id:`definecollections-options`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#definecollections-options`},[s(`span`,null,[s(`code`,null,`defineCollections(options)`)])])],-1),l[21]||=s(`p`,null,[s(`strong`,null,`options:`),a(),s(`code`,null,`(ThemePostCollection | ThemeDocCollection)[]`)],-1),l[22]||=s(`p`,null,`主题 collections 配置类型帮助函数`,-1),s(`p`,null,[l[10]||=a(`查看 `,-1),r(m,{href:`../config/collection.md`},{default:e(()=>[...l[9]||=[a(`主题配置`,-1)]]),_:1}),l[11]||=a(` 了解更多。`,-1)]),l[23]||=s(`h2`,{id:`definecollection-options`,tabindex:`-1`},[s(`a`,{class:`header-anchor`,href:`#definecollection-options`},[s(`span`,null,[s(`code`,null,`defineCollection(options)`)])])],-1),l[24]||=s(`p`,null,[s(`strong`,null,`options:`),a(),s(`code`,null,`ThemePostCollection | ThemeDocCollection`)],-1),l[25]||=s(`p`,null,`主题 单个 collection 配置类型帮助函数`,-1),s(`p`,null,[l[13]||=a(`查看 `,-1),r(m,{href:`../config/collection.md`},{default:e(()=>[...l[12]||=[a(`主题配置`,-1)]]),_:1}),l[14]||=a(` 了解更多。`,-1)])])}var f=c(u,[[`render`,d]]);export{l as _pageData,f as default};