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

1 line
5.8 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-TY2dTQsQ.js";import{t as c}from"./plugin-vue_export-helper-PrwMxFSs.js";var l=JSON.parse(`{"path":"/en/guide/api/node/","title":"Node | Guide","lang":"en-US","frontmatter":{"title":"Node","icon":"fa6-brands:node","createTime":"2025/10/08 21:59:13","permalink":"/en/guide/api/node/","description":"Usage plumeTheme(options) options : PlumeThemeOptions Theme configuration function. See for more information. defineThemeConfig(options) Theme configuration helper function for ...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Node\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-09T07:46:05.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/en/guide/api/node/"}],["meta",{"property":"og:site_name","content":"Plume Theme"}],["meta",{"property":"og:title","content":"Node"}],["meta",{"property":"og:description","content":"Usage plumeTheme(options) options : PlumeThemeOptions Theme configuration function. See for more information. defineThemeConfig(options) Theme configuration helper function for ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-10-09T07:46:05.000Z"}],["meta",{"property":"article:modified_time","content":"2025-10-09T07:46:05.000Z"}],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://theme-plume.vuejs.press/guide/api/node/"}]]},"readingTime":{"minutes":0.37,"words":112},"git":{"createdTime":1759995965000,"updatedTime":1759995965000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":1,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"385059f214cb07fc9a098859e889432fb81f998b","time":1759995965000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update en docs (#708)"}]},"autoDesc":true,"filePathRelative":"en/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="usage" tabindex="-1"><a class="header-anchor" href="#usage"><span>Usage</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>Theme configuration function.</p>`,5),s(`p`,null,[l[1]||=a(`See `,-1),r(m,{href:`../config/theme.md`},{default:e(()=>[...l[0]||=[a(`Theme Configuration`,-1)]]),_:1}),l[2]||=a(` for more information.`,-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(`Theme configuration helper function for use in separate `),s(`code`,null,`plume.config.ts`),a(` files.`)],-1),s(`p`,null,[l[4]||=a(`See `,-1),r(m,{href:`../config/intro.md#theme-configuration-file`},{default:e(()=>[...l[3]||=[a(`Theme Configuration File`,-1)]]),_:1}),l[5]||=a(` for more information.`,-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,`Theme navbar configuration type helper function.`,-1),s(`p`,null,[l[7]||=a(`See `,-1),r(m,{href:`../config/navbar.md`},{default:e(()=>[...l[6]||=[a(`Theme Configuration`,-1)]]),_:1}),l[8]||=a(` for more information.`,-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,`Theme collections configuration type helper function.`,-1),s(`p`,null,[l[10]||=a(`See `,-1),r(m,{href:`../config/collection.md`},{default:e(()=>[...l[9]||=[a(`Theme Configuration`,-1)]]),_:1}),l[11]||=a(` for more information.`,-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,`Theme single collection configuration type helper function.`,-1),s(`p`,null,[l[13]||=a(`See `,-1),r(m,{href:`../config/collection.md`},{default:e(()=>[...l[12]||=[a(`Theme Configuration`,-1)]]),_:1}),l[14]||=a(` for more information.`,-1)])])}var f=c(u,[[`render`,d]]);export{l as _pageData,f as default};