[{"data":1,"prerenderedAt":613},["ShallowReactive",2],{"navigation":3,"/docs/collections/sources":179,"t87gw8OO8A":600},[4,24,43,61,83,101,119,149],{"title":5,"path":6,"stem":7,"children":8,"icon":23},"Getting Started","/docs/getting-started","docs/1.getting-started/1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","/docs/getting-started/installation","docs/1.getting-started/2.installation",{"title":16,"path":17,"stem":18},"Configuration","/docs/getting-started/configuration","docs/1.getting-started/3.configuration",{"title":20,"path":21,"stem":22},"Migration","/docs/getting-started/migration","docs/1.getting-started/4.migration","i-lucide-square-play",{"title":25,"icon":26,"path":27,"stem":28,"children":29,"page":42},"Collections","i-lucide-database","/docs/collections","docs/2.collections",[30,34,38],{"title":31,"path":32,"stem":33},"Define","/docs/collections/define","docs/2.collections/1.define",{"title":35,"path":36,"stem":37},"Types","/docs/collections/types","docs/2.collections/2.types",{"title":39,"path":40,"stem":41},"Sources","/docs/collections/sources","docs/2.collections/3.sources",false,{"title":44,"icon":45,"path":46,"stem":47,"children":48,"page":42},"Files","i-lucide-file","/docs/files","docs/3.files",[49,53,57],{"title":50,"path":51,"stem":52},"Markdown","/docs/files/markdown","docs/3.files/1.markdown",{"title":54,"path":55,"stem":56},"YAML","/docs/files/yaml","docs/3.files/2.yaml",{"title":58,"path":59,"stem":60},"JSON","/docs/files/json","docs/3.files/3.json",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":42},"Query Utils","i-lucide-square-function","/docs/utils","docs/4.utils",[67,71,75,79],{"title":68,"path":69,"stem":70},"queryCollection","/docs/utils/query-collection","docs/4.utils/1.query-collection",{"title":72,"path":73,"stem":74},"queryCollectionNavigation","/docs/utils/query-collection-navigation","docs/4.utils/2.query-collection-navigation",{"title":76,"path":77,"stem":78},"queryCollectionItemSurroundings","/docs/utils/query-collection-item-surroundings","docs/4.utils/3.query-collection-item-surroundings",{"title":80,"path":81,"stem":82},"queryCollectionSearchSections","/docs/utils/query-collection-search-sections","docs/4.utils/4.query-collection-search-sections",{"title":84,"icon":85,"path":86,"stem":87,"children":88,"page":42},"Components","i-lucide-square-code","/docs/components","docs/5.components",[89,93,97],{"title":90,"path":91,"stem":92},"ContentRenderer","/docs/components/content-renderer","docs/5.components/0.content-renderer",{"title":94,"path":95,"stem":96},"Slot","/docs/components/slot","docs/5.components/1.slot",{"title":98,"path":99,"stem":100},"Prose Components","/docs/components/prose","docs/5.components/2.prose",{"title":102,"icon":103,"path":104,"stem":105,"children":106,"page":42},"Deploy","i-lucide-cloud-upload","/docs/deploy","docs/6.deploy",[107,111,115],{"title":108,"path":109,"stem":110},"Server","/docs/deploy/server","docs/6.deploy/1.server",{"title":112,"path":113,"stem":114},"Serverless","/docs/deploy/serverless","docs/6.deploy/2.serverless",{"title":116,"path":117,"stem":118},"Static","/docs/deploy/static","docs/6.deploy/3.static",{"title":120,"icon":121,"path":122,"stem":123,"children":124,"page":42},"Advanced","i-lucide-code-xml","/docs/advanced","docs/7.advanced",[125,129,133,137,141,145],{"title":126,"path":127,"stem":128},"Full-Text Search","/docs/advanced/fulltext-search","docs/7.advanced/1.fulltext-search",{"title":130,"path":131,"stem":132},"Raw Content","/docs/advanced/raw-content","docs/7.advanced/2.raw-content",{"title":134,"path":135,"stem":136},"SQL Storage","/docs/advanced/database","docs/7.advanced/3.database",{"title":138,"path":139,"stem":140},"Debugging tools","/docs/advanced/tools","docs/7.advanced/4.tools",{"title":142,"path":143,"stem":144},"Hooks","/docs/advanced/hooks","docs/7.advanced/5.hooks",{"title":146,"path":147,"stem":148},"Custom Source","/docs/advanced/custom-source","docs/7.advanced/6.custom-source",{"title":150,"icon":151,"path":152,"stem":153,"children":154,"page":42},"Studio","i-lucide-monitor","/docs/studio","docs/8.studio",[155,159,163,167,171,175],{"title":156,"path":157,"stem":158},"Setup","/docs/studio/setup","docs/8.studio/1.setup",{"title":160,"path":161,"stem":162},"Synchronization","/docs/studio/github","docs/8.studio/2.github",{"title":164,"path":165,"stem":166},"Content editors","/docs/studio/content","docs/8.studio/3.content",{"title":168,"path":169,"stem":170},"Medias","/docs/studio/medias","docs/8.studio/4.medias",{"title":172,"path":173,"stem":174},"App Config","/docs/studio/config","docs/8.studio/5.config",{"title":176,"path":177,"stem":178},"Local Debug","/docs/studio/debug","docs/8.studio/6.debug",{"page":180,"surround":595},{"id":181,"title":182,"body":183,"description":589,"extension":590,"links":591,"meta":592,"navigation":593,"path":40,"seo":594,"stem":41},"docs/docs/2.collections/3.sources.md","Collection Sources",{"type":184,"value":185,"toc":579},"minimal",[186,199,356,361,367,373,427,433,436,441,444,449,455,458,470,475,478,482,488,552,557,566,572,575],[187,188,189,190,194,195,198],"p",{},"Nuxt Content provides several ways to import content files into your collection. You can configure the source by using the ",[191,192,193],"code",{},"source"," property within ",[191,196,197],{},"defineCollection",":",[200,201,207],"pre",{"className":202,"code":203,"filename":204,"language":205,"meta":206,"style":206},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineCollection, defineContentConfig } from '@nuxt/content'\n\nexport default defineContentConfig({\n  collections: {\n    docs: defineCollection({\n      source: '**',\n      type: 'page'\n    })\n  }\n})\n","content.config.ts","ts","",[191,208,209,248,255,273,285,299,318,333,342,348],{"__ignoreMap":206},[210,211,214,218,222,226,229,232,235,238,241,245],"span",{"class":212,"line":213},"line",1,[210,215,217],{"class":216},"s8pZq","import",[210,219,221],{"class":220},"s86vT"," {",[210,223,225],{"class":224},"sndM8"," defineCollection",[210,227,228],{"class":220},",",[210,230,231],{"class":224}," defineContentConfig",[210,233,234],{"class":220}," }",[210,236,237],{"class":216}," from",[210,239,240],{"class":220}," '",[210,242,244],{"class":243},"sIEYB","@nuxt/content",[210,246,247],{"class":220},"'\n",[210,249,251],{"class":212,"line":250},2,[210,252,254],{"emptyLinePlaceholder":253},true,"\n",[210,256,258,261,264,267,270],{"class":212,"line":257},3,[210,259,260],{"class":216},"export",[210,262,263],{"class":216}," default",[210,265,231],{"class":266},"swgpB",[210,268,269],{"class":224},"(",[210,271,272],{"class":220},"{\n",[210,274,276,280,282],{"class":212,"line":275},4,[210,277,279],{"class":278},"sd2Uz","  collections",[210,281,198],{"class":220},[210,283,284],{"class":220}," {\n",[210,286,288,291,293,295,297],{"class":212,"line":287},5,[210,289,290],{"class":278},"    docs",[210,292,198],{"class":220},[210,294,225],{"class":266},[210,296,269],{"class":224},[210,298,272],{"class":220},[210,300,302,305,307,309,312,315],{"class":212,"line":301},6,[210,303,304],{"class":278},"      source",[210,306,198],{"class":220},[210,308,240],{"class":220},[210,310,311],{"class":243},"**",[210,313,314],{"class":220},"'",[210,316,317],{"class":220},",\n",[210,319,321,324,326,328,331],{"class":212,"line":320},7,[210,322,323],{"class":278},"      type",[210,325,198],{"class":220},[210,327,240],{"class":220},[210,329,330],{"class":243},"page",[210,332,247],{"class":220},[210,334,336,339],{"class":212,"line":335},8,[210,337,338],{"class":220},"    }",[210,340,341],{"class":224},")\n",[210,343,345],{"class":212,"line":344},9,[210,346,347],{"class":220},"  }\n",[210,349,351,354],{"class":212,"line":350},10,[210,352,353],{"class":220},"}",[210,355,341],{"class":224},[357,358,359],"h2",{"id":193},[191,360,193],{},[187,362,363,364,366],{},"The ",[191,365,193],{}," property can be defined as either a string (following a glob pattern) or an object, allowing more detailed source configuration for your target directory and files within the content folder.",[187,368,369],{},[370,371,372],"strong",{},"Example:",[374,375,376,383,392,406,418],"ul",{},[377,378,379,382],"li",{},[191,380,381],{},"source: '**"," includes all files within the content directory and its subdirectories.",[377,384,385,388,389,391],{},[191,386,387],{},"source: '**/*.md'","includes all ",[191,390,50],{}," files within the content directory and its subdirectories.",[377,393,394,397,398,401,402,405],{},[191,395,396],{},"source: 'docs/**/*.yml'"," includes all ",[191,399,400],{},"YML"," files within the ",[191,403,404],{},"content/docs"," and its subdirectories.",[377,407,408,411,412,414,415,417],{},[191,409,410],{},"source: '**/*.{json,yml}'"," includes ",[191,413,58],{}," or ",[191,416,400],{}," file within the content directory and all its subdirectories.",[377,419,420,423,424,426],{},[191,421,422],{},"source: '*.json'"," includes only ",[191,425,58],{}," files located directly within the content directory, excluding any subdirectories.",[428,429,431],"h3",{"id":430},"include",[191,432,430],{},[187,434,435],{},"Glob pattern of your target repository and files in the content folder.",[428,437,439],{"id":438},"exclude",[191,440,438],{},[187,442,443],{},"Glob patterns to exclude content from the import.",[428,445,447],{"id":446},"prefix",[191,448,446],{},[187,450,451,452,454],{},"This configuration only applied for ",[370,453,330],{}," type with 1-to-1 relationship between content files and pages on your site.",[187,456,457],{},"It represents the path prefix (base URL) of the corresponding page on the website.",[459,460,461],"prose-warning",{},[187,462,363,463,465,466,469],{},[191,464,446],{}," must start by a leading ",[191,467,468],{},"/",".",[428,471,473],{"id":472},"cwd",[191,474,472],{},[187,476,477],{},"Root directory for content matching.",[187,479,480],{},[370,481,372],{},[187,483,484,485,487],{},"If you want to include files from a folder outside the content directory, set the absolute path of that folder to the ",[191,486,472],{}," property.",[200,489,491],{"className":202,"code":490,"language":205,"meta":206,"style":206},"source: {\n  cwd: path.resolve('packages/my-pkg/docs'),\n  include: '**/*.md',\n}\n",[191,492,493,502,531,547],{"__ignoreMap":206},[210,494,495,498,500],{"class":212,"line":213},[210,496,193],{"class":497},"sYGMc",[210,499,198],{"class":220},[210,501,284],{"class":220},[210,503,504,507,509,512,514,517,519,521,524,526,529],{"class":212,"line":250},[210,505,506],{"class":497},"  cwd",[210,508,198],{"class":220},[210,510,511],{"class":224}," path",[210,513,469],{"class":220},[210,515,516],{"class":266},"resolve",[210,518,269],{"class":278},[210,520,314],{"class":220},[210,522,523],{"class":243},"packages/my-pkg/docs",[210,525,314],{"class":220},[210,527,528],{"class":278},")",[210,530,317],{"class":220},[210,532,533,536,538,540,543,545],{"class":212,"line":257},[210,534,535],{"class":497},"  include",[210,537,198],{"class":220},[210,539,240],{"class":220},[210,541,542],{"class":243},"**/*.md",[210,544,314],{"class":220},[210,546,317],{"class":220},[210,548,549],{"class":212,"line":275},[210,550,551],{"class":220},"}\n",[428,553,555],{"id":554},"repository",[191,556,554],{},[187,558,559,560,528],{},"External source representing a remote git repository URL (e.g., ",[561,562,563],"a",{"href":563,"rel":564},"https://github.com/nuxt/content",[565],"nofollow",[428,567,569],{"id":568},"authtoken",[191,570,571],{},"authToken",[187,573,574],{},"Authentication token for private repositories (e.g., GitHub personal access token).",[576,577,578],"style",{},"html pre.shiki code .s8pZq, html code.shiki .s8pZq{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s86vT, html code.shiki .s86vT{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sndM8, html code.shiki .sndM8{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sIEYB, html code.shiki .sIEYB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swgpB, html code.shiki .swgpB{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sd2Uz, html code.shiki .sd2Uz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sYGMc, html code.shiki .sYGMc{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":206,"searchDepth":275,"depth":275,"links":580},[581],{"id":193,"depth":250,"text":193,"children":582},[583,584,585,586,587,588],{"id":430,"depth":257,"text":430},{"id":438,"depth":257,"text":438},{"id":446,"depth":257,"text":446},{"id":472,"depth":257,"text":472},{"id":554,"depth":257,"text":554},{"id":568,"depth":257,"text":571},"Learn how to import your files in Nuxt Content collections.","md",null,{},{"title":39},{"title":182,"description":589},[596,598],{"title":35,"path":36,"stem":37,"description":597,"children":-1},"Learn about the two types of collections you can define in Nuxt Content.",{"title":50,"path":51,"stem":52,"description":599,"children":-1},"Create and query Markdown files in your Nuxt applications and use the MDC syntax to integrate Vue components.",{"data":601,"body":602,"excerpt":-1,"toc":611},{"title":206,"description":589},{"type":603,"children":604},"root",[605],{"type":606,"tag":187,"props":607,"children":608},"element",{},[609],{"type":610,"value":589},"text",{"title":206,"searchDepth":250,"depth":250,"links":612},[],1738777687751]