I am trying to get this to be able to show demo snippets inline in documentation for a library project I'm contributing to. Is that a supported scenario? I went through the setup steps and just used the example demo container. Then the first time I inserted a demo in my *.md file, I get the following error:
4:25:23 PM [vitepress] Internal server error: Single file component can contain only one <script setup> element
Plugin: vite:vue
File: C:/Projects/bootstrap-vue-next/apps/docs/src/docs/components/accordion.md
at createDuplicateBlockError (C:\Projects\bootstrap-vue-next\node_modules\.pnpm\@vue+compiler-sfc@3.4.27\node_modules\@vue\compiler-sfc\dist\compiler-sfc.cjs.js:1983:15)
at C:\Projects\bootstrap-vue-next\node_modules\.pnpm\@vue+compiler-sfc@3.4.27\node_modules\@vue\compiler-sfc\dist\compiler-sfc.cjs.js:1903:21
at Array.forEach (<anonymous>)
at Object.parse$2 [as parse] (C:\Projects\bootstrap-vue-next\node_modules\.pnpm\@vue+compiler-sfc@3.4.27\node_modules\@vue\compiler-sfc\dist\compiler-sfc.cjs.js:1861:16)
at createDescriptor (file:///C:/Projects/bootstrap-vue-next/node_modules/.pnpm/@vitejs+plugin-vue@5.0.4_vite@5.2.11_@types+node@20.12.12_sass@1.77.2_terser@5.30.4__vue@3.4.27_typescript@5.4.5_/node_modules/@vitejs/plugin-vue/dist/index.mjs:74:43)
at transformMain (file:///C:/Projects/bootstrap-vue-next/node_modules/.pnpm/@vitejs+plugin-vue@5.0.4_vite@5.2.11_@types+node@20.12.12_sass@1.77.2_terser@5.30.4__vue@3.4.27_typescript@5.4.5_/node_modules/@vitejs/plugin-vue/dist/index.mjs:2367:34)
at TransformContext.transform (file:///C:/Projects/bootstrap-vue-next/node_modules/.pnpm/@vitejs+plugin-vue@5.0.4_vite@5.2.11_@types+node@20.12.12_sass@1.77.2_terser@5.30.4__vue@3.4.27_typescript@5.4.5_/node_modules/@vitejs/plugin-vue/dist/index.mjs:2910:16)
at Object.transform (file:///C:/Projects/bootstrap-vue-next/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.12_sass@1.77.2_terser@5.30.4/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:51139:62)
at async loadAndTransform (file:///C:/Projects/bootstrap-vue-next/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.12_sass@1.77.2_terser@5.30.4/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:53894:29)
My *.md files all have Githubissues.
Githubissues is a development platform for aggregating issues.
I am trying to get this to be able to show demo snippets inline in documentation for a library project I'm contributing to. Is that a supported scenario? I went through the setup steps and just used the example demo container. Then the first time I inserted a demo in my *.md file, I get the following error:
My *.md files all have Githubissues.