`)\r\n\r\nI'm currently working on migrating and documenting the excellent Spectre CSS docs and am using Vitepress.\r\n\r\nI'm developing an ejected and modified default theme which has already come some way to solving this problem:\r\n\r\n- [original](https://picturepan2.github.io/spectre/components/menu.html) (custom app)\r\n- [migrated](https://spectre-org.github.io/spectre-docs/docs/components/menu.html) (VitePress with modified default theme)\r\n - note the `vp-doc` formatting which is all Spectre CSS\r\n - some fixed, and some not-yet fixed clashes of general class names\r\n\r\nFor reference to the use case (documenting a 3rd-party framework) here is the raw markdown page:\r\n\r\n- https://raw.githubusercontent.com/spectre-org/spectre-docs/main/docs/components/menu.md\r\n\r\nNote that:\r\n\r\n- Spectre CSS (or any other 3rd-party CSS framework) is now able to be simply \"dropped in\"\r\n- there is no pollution between VitePress and the 3rd-party framework\r\n- VitePress' default components remain fully-styled and work as they were before\r\n- `vp-doc` content can be safely used to demo any 3rd party HTML elements and classes\r\n\r\nI think I know enough to fix the problems in my modified theme and either:\r\n\r\n- publish a new \"neutral\" theme\r\n- port the changes to the default theme (ideal outcome)\r\n\r\nThere's actually not that much work; it's:\r\n\r\n- renaming the general component classes\r\n- moving some `vp-doc` classes to other locations\r\n- creating an additional unstyled entrypoint such as `without-formatting`\r\n\r\n### Describe alternatives you've considered\r\n\r\nPublishing the modified theme standalone, but then of course it would not benefit from ongoing updates.\r\n\r\n### Additional context\r\n\r\nI am proposing a PR in the coming weeks to integrate these updates.\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3046],{"name":3024,"color":3025},3021,"Make the default theme compatible with 3rd-party CSS frameworks","2023-11-06T14:43:58Z","https://github.com/vuejs/vitepress/issues/3021",0.7195943,{"description":3053,"labels":3054,"number":3055,"owner":3027,"repository":3028,"state":3056,"title":3057,"updated_at":3058,"url":3059,"score":3060},"### Is your feature request related to a problem? Please describe.\n\nI'm writing an internal manual by vitepress, a web server was set up in LAN. \r\nFor user manuals, full-text search is an important feature. \r\n\r\nMy doubt is that the 'search' section of official VitePress guide is blank.\r\nWill search functionality be externally hosted or implemented internally in future?\r\n\r\nIs there a formal official roadmap to tell us if this will realize in the future?\n\n### Describe the solution you'd like\n\nHave a local search solution formally in future.\n\n### Describe alternatives you've considered\n\nSwitch to vuepress?\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],1505,"closed","Will local full-text search be added in the future?","2023-01-21T14:20:41Z","https://github.com/vuejs/vitepress/issues/1505",0.6636666,{"description":3062,"labels":3063,"number":3064,"owner":3027,"repository":3028,"state":3056,"title":3065,"updated_at":3066,"url":3067,"score":3068},"### Is your feature request related to a problem? Please describe.\n\nBefore, I want to use the third-party component library [element-plus](https://element-plus.gitee.io/#/zh-CN) in vuepress, which can be directly in [clientAppEnhance.ts](https://v2.vuepress.vuejs.org/zh/reference/client-api.html#%E8%BF%9B%E9%98%B6%E8%83%BD%E5%8A%9B) folder for app Use(). The code is as follows:\r\n\r\n```js\r\nimport { defineClientAppEnhance } from '@vuepress/client'\r\n\r\nimport elementPlus from 'element-pus'\r\n\r\nexport default defineClientAppEnhance(({ app, router, siteData }) => {\r\n app.use(elementPlus)\r\n})\r\n```\r\n\r\nSo how do I use third-party libraries in vitepress?\n\n### Describe the solution you'd like\n\nI hope to supplement the detailed configuration of the [document](https://vitepress.vuejs.org/). Now the content of the document configuration of vitepress is too few, and it is difficult for novices to get started with vitepress\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],603,"How to use third-party libraries?","2023-01-21T14:28:45Z","https://github.com/vuejs/vitepress/issues/603",0.70119905,{"description":3070,"labels":3071,"number":3078,"owner":3027,"repository":3028,"state":3056,"title":3079,"updated_at":3080,"url":3081,"score":3082},"### Is your feature request related to a problem? Please describe.\n\nThis would add support for [FlexSearch](https://github.com/nextapps-de/flexsearch), which is what is used by default in [Nextra.js](https://nextra.site). I am currently choosing between either VitePress or Nextra, with a preference toward VitePress. However, the details from the search that show up on Nextra are preferable as opposed to just the title of a page.\r\n\r\nWith minisearch:\r\n\u003Cimg width=\"817\" alt=\"Screenshot 2023-07-27 at 11 31 49\" src=\"https://github.com/vuejs/vitepress/assets/46639943/92a5e2aa-bc0f-409d-9e73-1e899b43440f\">\r\n\r\nWith FlexSearch:\r\n\u003Cimg width=\"820\" alt=\"Screenshot 2023-07-27 at 11 32 04\" src=\"https://github.com/vuejs/vitepress/assets/46639943/62ed14ba-ef4d-4943-b010-75fbf6e8abeb\">\r\n\n\n### Describe the solution you'd like\n\nAdd support for FlexSearch\n\n### Describe alternatives you've considered\n\nUsing Nextra, but I would like to use VitePress\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3072,3075],{"name":3073,"color":3074},"theme","0754FB",{"name":3076,"color":3077},"contribution welcome","11E4B8",2690,"[search] add option to enable detailed view by default","2023-08-11T00:04:36Z","https://github.com/vuejs/vitepress/issues/2690",0.7045315,{"description":3084,"labels":3085,"number":3086,"owner":3027,"repository":3028,"state":3056,"title":3087,"updated_at":3088,"url":3089,"score":3090},"### Is your feature request related to a problem? Please describe.\r\n\r\nWe are moving to `vitepress` in many private repositories from my company. \r\nWe see that only `agolia` is supported as a search method, which requires open-source projects only. \r\nWe are trying to migrate everything to the Vite ecosystem but this is pushing us back.\r\n\r\n### Describe the solution you'd like\r\n\r\nCan we have something similar like `vuepress@1`? \r\nThanks!\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],1467,"Support search functionality for private repos","2023-01-21T14:25:11Z","https://github.com/vuejs/vitepress/issues/1467",0.71080047,{"description":3092,"labels":3093,"number":3094,"owner":3027,"repository":3028,"state":3056,"title":3095,"updated_at":3096,"url":3097,"score":3098},"After adding search `provider: 'local'` to my config, it ran without issue locally. When I tried to deploy it, it failed during build. Perhaps this is a permission issue and/or a note/tip the documentation is missing?\r\n```\r\n> vitepress build docs\r\n\r\n vitepress v1.0.0-beta.6\r\n\r\n- building client + server bundles...\r\n[vitepress:local-search] Could not load /@localSearchIndex (imported by node_modules/vitepress/dist/client/theme-default/components/VPLocalSearchBox.vue?vue&type=script&setup=true&lang.ts): section.titles.at is not a function\r\n✖ building client + server bundles...\r\nbuild error:\r\nTypeError: Could not load /@localSearchIndex (imported by node_modules/vitepress/dist/client/theme-default/components/VPLocalSearchBox.vue?vue&type=script&setup=true&lang.ts): section.titles.at is not a function\r\n at file:///home/forge/[removed]/node_modules/vitepress/dist/node/serve-98a6c925.js:36912:35\r\n at Array.map (\u003Canonymous>)\r\n at file:///home/forge/[removed]/node_modules/vitepress/dist/node/serve-98a6c925.js:36909:23\r\n at Array.map (\u003Canonymous>)\r\n at indexAllFiles (file:///home/forge/[removed]/node_modules/vitepress/dist/node/serve-98a6c925.js:36897:53)\r\n at scanForBuild (file:///home/forge/[removed]/node_modules/vitepress/dist/node/serve-98a6c925.js:36926:11)\r\n at Object.load (file:///home/forge/[removed]/node_modules/vitepress/dist/node/serve-98a6c925.js:36955:17)\r\n at file:///home/forge/[removed]/node_modules/rollup/dist/es/shared/node-entry.js:25336:40\r\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\r\n at async PluginDriver.hookFirstAndGetPlugin (file:///home/forge/[removed]/node_modules/rollup/dist/es/shared/node-entry.js:25236:28)\r\n```",[],2687,"Could not load /@localSearchIndex","2023-08-03T00:04:15Z","https://github.com/vuejs/vitepress/issues/2687",0.7130756,{"description":3100,"labels":3101,"number":3102,"owner":3027,"repository":3028,"state":3056,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### Is your feature request related to a problem? Please describe.\n\nbuild a single page or mutli pages, all run run locally.\n\n### Describe the solution you'd like\n\nwork with vite single page plugin?\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],4407,"single page and run in local","2024-12-13T04:44:27Z","https://github.com/vuejs/vitepress/issues/4407",0.7149158,{"description":3108,"labels":3109,"number":3113,"owner":3027,"repository":3028,"state":3056,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### Describe the bug\n\nIf I enable localSearch in the theme config, markdown files in public dir are considered as if they are in the content dir and be processed by vitepress. This is unwanted.\n\n### Reproduction\n\nEnable localSearch and add markdown some files in the public dir.\n\n### Expected behavior\n\nPublic dir should not be processed by vitepress.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.19 Ubuntu 22.10 22.10 (Kinetic Kudu)\r\n CPU: (4) x64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz\r\n Memory: 4.08 GB / 7.21 GB\r\n Container: Yes\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.0.0 - ~/.local/share/pnpm/node\r\n npm: 9.6.2 - ~/.local/share/pnpm/npm\r\n Browsers:\r\n Chrome: 112.0.5615.49\r\n```\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3110],{"name":3111,"color":3112},"bug: pending triage","e99695",2209,"localSearch treat public dir as content","2023-04-20T00:03:59Z","https://github.com/vuejs/vitepress/issues/2209",0.7196625,["Reactive",3119],{},["Set"],["ShallowReactive",3122],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f0iVEaTZwksuKRlTxJfeVO6O2gE7LV0r1n9ECJ8h5KeU":-1},"/vuejs/vitepress/2490"]