valaxy 0.15.11-alpha.0 → 0.15.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/LICENSE +21 -0
  2. package/bin/valaxy.cjs +0 -0
  3. package/bin/valaxy.mjs +0 -0
  4. package/dist/{chunk-3EJGKTUH.mjs → chunk-HAVGXIHI.mjs} +1 -1
  5. package/dist/{chunk-RDNVTVQ5.cjs → chunk-HZFTOKBG.cjs} +1 -1
  6. package/dist/{config-e5704a2c.d.ts → config-0d4945ff.d.ts} +12 -2
  7. package/dist/node/cli/index.cjs +1 -1
  8. package/dist/node/cli/index.mjs +1 -1
  9. package/dist/node/index.cjs +1 -1
  10. package/dist/node/index.d.cts +1 -2
  11. package/dist/node/index.d.ts +1 -2
  12. package/dist/node/index.mjs +1 -1
  13. package/dist/types/index.cjs +1 -1
  14. package/dist/types/index.d.cts +2 -4
  15. package/dist/types/index.d.ts +2 -4
  16. package/dist/types/index.mjs +1 -1
  17. package/package.json +8 -9
  18. package/types/config.ts +3 -1
  19. package/types/{default-theme.d.ts → default-theme.ts} +2 -1
  20. package/types/index.ts +2 -1
  21. package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +0 -1
  22. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +0 -227
  23. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +0 -752
  24. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +0 -31
  25. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +0 -42
  26. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +0 -172
  27. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +0 -1105
  28. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +0 -286
  29. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +0 -627
  30. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +0 -2460
  31. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +0 -1071
  32. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +0 -490
  33. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +0 -1851
  34. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +0 -1444
  35. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +0 -321
  36. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +0 -2625
  37. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +0 -244
  38. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +0 -370
  39. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +0 -3684
  40. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +0 -969
  41. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +0 -517
  42. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +0 -4159
  43. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +0 -676
  44. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +0 -768
  45. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +0 -527
  46. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +0 -424
  47. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +0 -563
  48. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +0 -3294
  49. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +0 -202
  50. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +0 -549
  51. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +0 -4161
  52. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +0 -1170
  53. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +0 -1564
  54. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +0 -6119
  55. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +0 -180
  56. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +0 -5895
  57. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +0 -278
  58. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +0 -752
  59. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +0 -1605
  60. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +0 -4
  61. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +0 -477
  62. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +0 -286
  63. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +0 -3742
  64. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +0 -548
  65. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +0 -574
  66. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +0 -172
  67. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +0 -669
  68. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +0 -619
  69. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +0 -830
  70. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +0 -350
  71. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +0 -1131
  72. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +0 -4963
  73. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +0 -675
  74. package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +0 -33
  75. package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +0 -6239
  76. package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
  77. package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +0 -1
  78. package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +0 -227
  79. package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +0 -752
  80. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +0 -31
  81. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +0 -42
  82. package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +0 -172
  83. package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +0 -1105
  84. package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +0 -286
  85. package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +0 -627
  86. package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +0 -2460
  87. package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +0 -1071
  88. package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +0 -490
  89. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +0 -1851
  90. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +0 -1444
  91. package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +0 -321
  92. package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +0 -2625
  93. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +0 -244
  94. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +0 -370
  95. package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +0 -3684
  96. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +0 -969
  97. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +0 -517
  98. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +0 -4159
  99. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +0 -676
  100. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +0 -768
  101. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +0 -527
  102. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +0 -424
  103. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +0 -563
  104. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +0 -3294
  105. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +0 -202
  106. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +0 -549
  107. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +0 -4161
  108. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +0 -1170
  109. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +0 -1564
  110. package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +0 -6119
  111. package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +0 -180
  112. package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +0 -5895
  113. package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +0 -278
  114. package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +0 -752
  115. package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +0 -1605
  116. package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +0 -4
  117. package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +0 -477
  118. package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +0 -286
  119. package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +0 -3742
  120. package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +0 -548
  121. package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +0 -574
  122. package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +0 -172
  123. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +0 -669
  124. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +0 -619
  125. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +0 -830
  126. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +0 -350
  127. package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +0 -1131
  128. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +0 -4963
  129. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +0 -675
  130. package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +0 -33
  131. package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +0 -6239
  132. package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
@@ -1,1105 +0,0 @@
1
- import { _ as _export_sfc, a as _sfc_main$1 } from "../main.mjs";
2
- import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
3
- import { provide, mergeProps, withCtx, createTextVNode, createVNode, renderSlot, useSSRContext } from "vue";
4
- import { useRoute } from "vue-router";
5
- import { ssrRenderComponent, ssrRenderStyle, ssrRenderSlot } from "vue/server-renderer";
6
- import "vite-ssg";
7
- import "pinia";
8
- import "@vueuse/core";
9
- import "dayjs";
10
- import "dayjs/plugin/utc.js";
11
- import "dayjs/plugin/timezone.js";
12
- import "dayjs/locale/zh-cn.js";
13
- import "body-scroll-lock";
14
- import "@intlify/shared";
15
- import "@intlify/core-base";
16
- import "@vue/devtools-api";
17
- import "@unhead/schema-org";
18
- import "@unhead/vue";
19
- import "dayjs/plugin/relativeTime.js";
20
- import "defu";
21
- import "nprogress";
22
- import "medium-zoom";
23
- import "vanilla-lazyload";
24
- const __pageData = JSON.parse('{"title":"Best Practice","description":"","frontmatter":{"title":"Best Practice","title_zh-CN":"最佳实践","categories":["guide"],"top":1},"headers":[{"level":2,"title":"文章","slug":"文章","link":"#文章","children":[]},{"level":2,"title":"Post","slug":"post","link":"#post","children":[]}],"relativePath":"pages/guide/best-pratice.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\best-pratice.md","lastUpdated":1696615123000}');
25
- const data = JSON.parse('{"title":"Best Practice","description":"","frontmatter":{"title":"Best Practice","title_zh-CN":"最佳实践","categories":["guide"],"top":1},"headers":[{"level":2,"title":"文章","slug":"文章","link":"#文章","children":[]},{"level":2,"title":"Post","slug":"post","link":"#post","children":[]}],"relativePath":"pages/guide/best-pratice.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\best-pratice.md","lastUpdated":1696615123000}');
26
- const _sfc_main = {
27
- name: "pages/guide/best-pratice.md",
28
- data() {
29
- return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
30
- },
31
- setup() {
32
- const route = useRoute();
33
- route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
34
- provide("pageData", data);
35
- }
36
- };
37
- function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
38
- const _component_ValaxyMain = __unplugin_components_0;
39
- const _component_AppLink = _sfc_main$1;
40
- _push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
41
- frontmatter: $data.frontmatter,
42
- data: $data.data
43
- }, _attrs), {
44
- "main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
45
- if (_push2) {
46
- _push2(`<h2 lang="zh-CN" id="文章" tabindex="-1"${_scopeId}>文章 `);
47
- _push2(ssrRenderComponent(_component_AppLink, {
48
- class: "header-anchor",
49
- href: "#文章",
50
- "aria-label": 'Permalink to "文章 {lang="zh-CN"}"'
51
- }, {
52
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
53
- if (_push3) {
54
- _push3(`​`);
55
- } else {
56
- return [
57
- createTextVNode("​")
58
- ];
59
- }
60
- }),
61
- _: 1
62
- /* STABLE */
63
- }, _parent2, _scopeId));
64
- _push2(`</h2><h2 lang="en" id="post" tabindex="-1"${_scopeId}>Post `);
65
- _push2(ssrRenderComponent(_component_AppLink, {
66
- class: "header-anchor",
67
- href: "#post",
68
- "aria-label": 'Permalink to "Post {lang="en"}"'
69
- }, {
70
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
71
- if (_push3) {
72
- _push3(`​`);
73
- } else {
74
- return [
75
- createTextVNode("​")
76
- ];
77
- }
78
- }),
79
- _: 1
80
- /* STABLE */
81
- }, _parent2, _scopeId));
82
- _push2(`</h2><div lang="zh-CN"${_scopeId}><p${_scopeId}>以下是我们推荐的部分最佳实践,但您不必完全遵守。</p><ol${_scopeId}><li${_scopeId}><p${_scopeId}>建议使用英文命名文件夹和文件,如 <code${_scopeId}>blog/pages/posts/your-post.md</code>。</p></li><li${_scopeId}><p${_scopeId}>插入第三方/大量动态内容时,优先将其封装为组件放置于 <code${_scopeId}>components</code>,并通过组件标签名引入,以下是一个例子。</p></li></ol><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// blog/components/BszComponent.vue</span></span>
83
- <span class="line"${_scopeId}></span>
84
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
85
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
86
- <span class="line"${_scopeId}></span>
87
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
88
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
89
- <span class="line"${_scopeId}></span>
90
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
91
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
92
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
93
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
94
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
95
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// blog/components/BszComponent.vue</span></span>
96
- <span class="line"${_scopeId}></span>
97
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
98
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
99
- <span class="line"${_scopeId}></span>
100
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
101
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
102
- <span class="line"${_scopeId}></span>
103
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
104
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
105
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
106
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
107
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
108
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// blog/pages/posts/test-custom-component.md</span></span>
109
- <span class="line"${_scopeId}></span>
110
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#79B8FF", "font-weight": "bold" })}"${_scopeId}># hello World</span></span>
111
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;BszComponent/&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// blog/pages/posts/test-custom-component.md</span></span>
112
- <span class="line"${_scopeId}></span>
113
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#005CC5", "font-weight": "bold" })}"${_scopeId}># hello World</span></span>
114
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;BszComponent/&gt;</span></span></code></pre></div><ol start="3"${_scopeId}><li${_scopeId}>如果文章中不想使用外链图片,建议按照以下格式创建文件夹及引用图片,便于管理和迁移。</li></ol><div class="language-txt"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>txt</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>posts</span></span>
115
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>├─ your-post</span></span>
116
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>│ ├─ a.png</span></span>
117
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>| ├─ b.png</span></span>
118
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>│ └─ index.md</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>posts</span></span>
119
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>├─ your-post</span></span>
120
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>│ ├─ a.png</span></span>
121
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>| ├─ b.png</span></span>
122
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>│ └─ index.md</span></span></code></pre></div><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// posts/your-post/index.md</span></span>
123
- <span class="line"${_scopeId}></span>
124
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#E1E4E8", "text-decoration": "underline" })}"${_scopeId}>./a.png</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
125
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#E1E4E8", "text-decoration": "underline" })}"${_scopeId}>./b.png</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// posts/your-post/index.md</span></span>
126
- <span class="line"${_scopeId}></span>
127
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#24292E", "text-decoration": "underline" })}"${_scopeId}>./a.png</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
128
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#24292E", "text-decoration": "underline" })}"${_scopeId}>./b.png</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span></code></pre></div></div><div lang="en"${_scopeId}><p${_scopeId}>The following are some of our recommended best practices, but you do not need to fully adhere to them.</p><ol${_scopeId}><li${_scopeId}>It is recommended to name folders and files in English.</li></ol><div class="language-txt"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>txt</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>blog/pages/posts/your-post.md</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>blog/pages/posts/your-post.md</span></span></code></pre></div><ol start="2"${_scopeId}><li${_scopeId}>When inserting third-party/large amounts of dynamic content, priority should be given to encapsulating it as a component and placing it in <code${_scopeId}>blog/components</code>, and introducing it through component tag names.</li></ol><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// blog/components/BszComponent.vue</span></span>
129
- <span class="line"${_scopeId}></span>
130
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
131
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
132
- <span class="line"${_scopeId}></span>
133
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
134
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
135
- <span class="line"${_scopeId}></span>
136
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
137
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
138
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
139
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
140
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
141
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// blog/components/BszComponent.vue</span></span>
142
- <span class="line"${_scopeId}></span>
143
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
144
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
145
- <span class="line"${_scopeId}></span>
146
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
147
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
148
- <span class="line"${_scopeId}></span>
149
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
150
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
151
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
152
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
153
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
154
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// blog/pages/posts/test-custom-component.md</span></span>
155
- <span class="line"${_scopeId}></span>
156
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#79B8FF", "font-weight": "bold" })}"${_scopeId}># hello World</span></span>
157
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;BszComponent/&gt;</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// blog/pages/posts/test-custom-component.md</span></span>
158
- <span class="line"${_scopeId}></span>
159
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#005CC5", "font-weight": "bold" })}"${_scopeId}># hello World</span></span>
160
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;BszComponent/&gt;</span></span></code></pre></div><ol start="3"${_scopeId}><li${_scopeId}>If you do not want to use external links in the post, it is recommended to create folders and reference images in the following format for easy management and migration.</li></ol><div class="language-txt"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>txt</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>posts</span></span>
161
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>├─ your-post</span></span>
162
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>│ ├─ a.png</span></span>
163
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>| ├─ b.png</span></span>
164
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#e1e4e8" })}"${_scopeId}>│ └─ index.md</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>posts</span></span>
165
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>├─ your-post</span></span>
166
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>│ ├─ a.png</span></span>
167
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>| ├─ b.png</span></span>
168
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292e" })}"${_scopeId}>│ └─ index.md</span></span></code></pre></div><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>// posts/your-post/index.md</span></span>
169
- <span class="line"${_scopeId}></span>
170
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#E1E4E8", "text-decoration": "underline" })}"${_scopeId}>./a.png</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
171
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#E1E4E8", "text-decoration": "underline" })}"${_scopeId}>./b.png</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>// posts/your-post/index.md</span></span>
172
- <span class="line"${_scopeId}></span>
173
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#24292E", "text-decoration": "underline" })}"${_scopeId}>./a.png</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
174
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>![](</span><span style="${ssrRenderStyle({ "color": "#24292E", "text-decoration": "underline" })}"${_scopeId}>./b.png</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span></code></pre></div></div>`);
175
- } else {
176
- return [
177
- createVNode("h2", {
178
- lang: "zh-CN",
179
- id: "文章",
180
- tabindex: "-1"
181
- }, [
182
- createTextVNode("文章 "),
183
- createVNode(_component_AppLink, {
184
- class: "header-anchor",
185
- href: "#文章",
186
- "aria-label": 'Permalink to "文章 {lang="zh-CN"}"'
187
- }, {
188
- default: withCtx(() => [
189
- createTextVNode("​")
190
- ]),
191
- _: 1
192
- /* STABLE */
193
- })
194
- ]),
195
- createVNode("h2", {
196
- lang: "en",
197
- id: "post",
198
- tabindex: "-1"
199
- }, [
200
- createTextVNode("Post "),
201
- createVNode(_component_AppLink, {
202
- class: "header-anchor",
203
- href: "#post",
204
- "aria-label": 'Permalink to "Post {lang="en"}"'
205
- }, {
206
- default: withCtx(() => [
207
- createTextVNode("​")
208
- ]),
209
- _: 1
210
- /* STABLE */
211
- })
212
- ]),
213
- createVNode("div", { lang: "zh-CN" }, [
214
- createVNode("p", null, "以下是我们推荐的部分最佳实践,但您不必完全遵守。"),
215
- createVNode("ol", null, [
216
- createVNode("li", null, [
217
- createVNode("p", null, [
218
- createTextVNode("建议使用英文命名文件夹和文件,如 "),
219
- createVNode("code", null, "blog/pages/posts/your-post.md"),
220
- createTextVNode("。")
221
- ])
222
- ]),
223
- createVNode("li", null, [
224
- createVNode("p", null, [
225
- createTextVNode("插入第三方/大量动态内容时,优先将其封装为组件放置于 "),
226
- createVNode("code", null, "components"),
227
- createTextVNode(",并通过组件标签名引入,以下是一个例子。")
228
- ])
229
- ])
230
- ]),
231
- createVNode("div", { class: "language-vue" }, [
232
- createVNode("button", {
233
- title: "Copy Code",
234
- class: "copy"
235
- }),
236
- createVNode("span", { class: "lang" }, "vue"),
237
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
238
- createVNode("code", null, [
239
- createVNode("span", { class: "line" }, [
240
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// blog/components/BszComponent.vue")
241
- ]),
242
- createTextVNode("\n"),
243
- createVNode("span", { class: "line" }),
244
- createTextVNode("\n"),
245
- createVNode("span", { class: "line" }, [
246
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
247
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
248
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
249
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
250
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
251
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
252
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
253
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
254
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
255
- ]),
256
- createTextVNode("\n"),
257
- createVNode("span", { class: "line" }, [
258
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
259
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useScriptTag } "),
260
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
261
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
262
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'@vueuse/core'")
263
- ]),
264
- createTextVNode("\n"),
265
- createVNode("span", { class: "line" }),
266
- createTextVNode("\n"),
267
- createVNode("span", { class: "line" }, [
268
- createVNode("span", { style: { "color": "#B392F0" } }, "useScriptTag"),
269
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
270
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
271
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
272
- ]),
273
- createTextVNode("\n"),
274
- createVNode("span", { class: "line" }, [
275
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
276
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
277
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
278
- ]),
279
- createTextVNode("\n"),
280
- createVNode("span", { class: "line" }),
281
- createTextVNode("\n"),
282
- createVNode("span", { class: "line" }, [
283
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
284
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
285
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
286
- ]),
287
- createTextVNode("\n"),
288
- createVNode("span", { class: "line" }, [
289
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
290
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
291
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
292
- ]),
293
- createTextVNode("\n"),
294
- createVNode("span", { class: "line" }, [
295
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
296
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
297
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站总访问量 <"),
298
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
299
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
300
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
301
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
302
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_pv"'),
303
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
304
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
305
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 次</"),
306
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
307
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
308
- ]),
309
- createTextVNode("\n"),
310
- createVNode("span", { class: "line" }, [
311
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
312
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
313
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站访客数 <"),
314
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
315
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
316
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
317
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
318
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_uv"'),
319
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
320
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
321
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 人次</"),
322
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
323
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
324
- ]),
325
- createTextVNode("\n"),
326
- createVNode("span", { class: "line" }, [
327
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
328
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
329
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
330
- ]),
331
- createTextVNode("\n"),
332
- createVNode("span", { class: "line" }, [
333
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
334
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
335
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
336
- ])
337
- ])
338
- ]),
339
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
340
- createVNode("code", null, [
341
- createVNode("span", { class: "line" }, [
342
- createVNode("span", { style: { "color": "#24292E" } }, "// blog/components/BszComponent.vue")
343
- ]),
344
- createTextVNode("\n"),
345
- createVNode("span", { class: "line" }),
346
- createTextVNode("\n"),
347
- createVNode("span", { class: "line" }, [
348
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
349
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
350
- createVNode("span", { style: { "color": "#24292E" } }, " "),
351
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
352
- createVNode("span", { style: { "color": "#24292E" } }, "="),
353
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
354
- createVNode("span", { style: { "color": "#24292E" } }, " "),
355
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
356
- createVNode("span", { style: { "color": "#24292E" } }, ">")
357
- ]),
358
- createTextVNode("\n"),
359
- createVNode("span", { class: "line" }, [
360
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
361
- createVNode("span", { style: { "color": "#24292E" } }, " { useScriptTag } "),
362
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
363
- createVNode("span", { style: { "color": "#24292E" } }, " "),
364
- createVNode("span", { style: { "color": "#032F62" } }, "'@vueuse/core'")
365
- ]),
366
- createTextVNode("\n"),
367
- createVNode("span", { class: "line" }),
368
- createTextVNode("\n"),
369
- createVNode("span", { class: "line" }, [
370
- createVNode("span", { style: { "color": "#6F42C1" } }, "useScriptTag"),
371
- createVNode("span", { style: { "color": "#24292E" } }, "("),
372
- createVNode("span", { style: { "color": "#032F62" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
373
- createVNode("span", { style: { "color": "#24292E" } }, ")")
374
- ]),
375
- createTextVNode("\n"),
376
- createVNode("span", { class: "line" }, [
377
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
378
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
379
- createVNode("span", { style: { "color": "#24292E" } }, ">")
380
- ]),
381
- createTextVNode("\n"),
382
- createVNode("span", { class: "line" }),
383
- createTextVNode("\n"),
384
- createVNode("span", { class: "line" }, [
385
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
386
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
387
- createVNode("span", { style: { "color": "#24292E" } }, ">")
388
- ]),
389
- createTextVNode("\n"),
390
- createVNode("span", { class: "line" }, [
391
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
392
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
393
- createVNode("span", { style: { "color": "#24292E" } }, ">")
394
- ]),
395
- createTextVNode("\n"),
396
- createVNode("span", { class: "line" }, [
397
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
398
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
399
- createVNode("span", { style: { "color": "#24292E" } }, ">本站总访问量 <"),
400
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
401
- createVNode("span", { style: { "color": "#24292E" } }, " "),
402
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
403
- createVNode("span", { style: { "color": "#24292E" } }, "="),
404
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_pv"'),
405
- createVNode("span", { style: { "color": "#24292E" } }, " "),
406
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
407
- createVNode("span", { style: { "color": "#24292E" } }, "> 次</"),
408
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
409
- createVNode("span", { style: { "color": "#24292E" } }, ">")
410
- ]),
411
- createTextVNode("\n"),
412
- createVNode("span", { class: "line" }, [
413
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
414
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
415
- createVNode("span", { style: { "color": "#24292E" } }, ">本站访客数 <"),
416
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
417
- createVNode("span", { style: { "color": "#24292E" } }, " "),
418
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
419
- createVNode("span", { style: { "color": "#24292E" } }, "="),
420
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_uv"'),
421
- createVNode("span", { style: { "color": "#24292E" } }, " "),
422
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
423
- createVNode("span", { style: { "color": "#24292E" } }, "> 人次</"),
424
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
425
- createVNode("span", { style: { "color": "#24292E" } }, ">")
426
- ]),
427
- createTextVNode("\n"),
428
- createVNode("span", { class: "line" }, [
429
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
430
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
431
- createVNode("span", { style: { "color": "#24292E" } }, ">")
432
- ]),
433
- createTextVNode("\n"),
434
- createVNode("span", { class: "line" }, [
435
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
436
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
437
- createVNode("span", { style: { "color": "#24292E" } }, ">")
438
- ])
439
- ])
440
- ])
441
- ]),
442
- createVNode("div", { class: "language-md" }, [
443
- createVNode("button", {
444
- title: "Copy Code",
445
- class: "copy"
446
- }),
447
- createVNode("span", { class: "lang" }, "md"),
448
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
449
- createVNode("code", null, [
450
- createVNode("span", { class: "line" }, [
451
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// blog/pages/posts/test-custom-component.md")
452
- ]),
453
- createTextVNode("\n"),
454
- createVNode("span", { class: "line" }),
455
- createTextVNode("\n"),
456
- createVNode("span", { class: "line" }, [
457
- createVNode("span", { style: { "color": "#79B8FF", "font-weight": "bold" } }, "# hello World")
458
- ]),
459
- createTextVNode("\n"),
460
- createVNode("span", { class: "line" }, [
461
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<BszComponent/>")
462
- ])
463
- ])
464
- ]),
465
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
466
- createVNode("code", null, [
467
- createVNode("span", { class: "line" }, [
468
- createVNode("span", { style: { "color": "#24292E" } }, "// blog/pages/posts/test-custom-component.md")
469
- ]),
470
- createTextVNode("\n"),
471
- createVNode("span", { class: "line" }),
472
- createTextVNode("\n"),
473
- createVNode("span", { class: "line" }, [
474
- createVNode("span", { style: { "color": "#005CC5", "font-weight": "bold" } }, "# hello World")
475
- ]),
476
- createTextVNode("\n"),
477
- createVNode("span", { class: "line" }, [
478
- createVNode("span", { style: { "color": "#24292E" } }, "<BszComponent/>")
479
- ])
480
- ])
481
- ])
482
- ]),
483
- createVNode("ol", { start: "3" }, [
484
- createVNode("li", null, "如果文章中不想使用外链图片,建议按照以下格式创建文件夹及引用图片,便于管理和迁移。")
485
- ]),
486
- createVNode("div", { class: "language-txt" }, [
487
- createVNode("button", {
488
- title: "Copy Code",
489
- class: "copy"
490
- }),
491
- createVNode("span", { class: "lang" }, "txt"),
492
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
493
- createVNode("code", null, [
494
- createVNode("span", { class: "line" }, [
495
- createVNode("span", { style: { "color": "#e1e4e8" } }, "posts")
496
- ]),
497
- createTextVNode("\n"),
498
- createVNode("span", { class: "line" }, [
499
- createVNode("span", { style: { "color": "#e1e4e8" } }, "├─ your-post")
500
- ]),
501
- createTextVNode("\n"),
502
- createVNode("span", { class: "line" }, [
503
- createVNode("span", { style: { "color": "#e1e4e8" } }, "│ ├─ a.png")
504
- ]),
505
- createTextVNode("\n"),
506
- createVNode("span", { class: "line" }, [
507
- createVNode("span", { style: { "color": "#e1e4e8" } }, "| ├─ b.png")
508
- ]),
509
- createTextVNode("\n"),
510
- createVNode("span", { class: "line" }, [
511
- createVNode("span", { style: { "color": "#e1e4e8" } }, "│ └─ index.md")
512
- ])
513
- ])
514
- ]),
515
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
516
- createVNode("code", null, [
517
- createVNode("span", { class: "line" }, [
518
- createVNode("span", { style: { "color": "#24292e" } }, "posts")
519
- ]),
520
- createTextVNode("\n"),
521
- createVNode("span", { class: "line" }, [
522
- createVNode("span", { style: { "color": "#24292e" } }, "├─ your-post")
523
- ]),
524
- createTextVNode("\n"),
525
- createVNode("span", { class: "line" }, [
526
- createVNode("span", { style: { "color": "#24292e" } }, "│ ├─ a.png")
527
- ]),
528
- createTextVNode("\n"),
529
- createVNode("span", { class: "line" }, [
530
- createVNode("span", { style: { "color": "#24292e" } }, "| ├─ b.png")
531
- ]),
532
- createTextVNode("\n"),
533
- createVNode("span", { class: "line" }, [
534
- createVNode("span", { style: { "color": "#24292e" } }, "│ └─ index.md")
535
- ])
536
- ])
537
- ])
538
- ]),
539
- createVNode("div", { class: "language-md" }, [
540
- createVNode("button", {
541
- title: "Copy Code",
542
- class: "copy"
543
- }),
544
- createVNode("span", { class: "lang" }, "md"),
545
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
546
- createVNode("code", null, [
547
- createVNode("span", { class: "line" }, [
548
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// posts/your-post/index.md")
549
- ]),
550
- createTextVNode("\n"),
551
- createVNode("span", { class: "line" }),
552
- createTextVNode("\n"),
553
- createVNode("span", { class: "line" }, [
554
- createVNode("span", { style: { "color": "#E1E4E8" } }, "![]("),
555
- createVNode("span", { style: { "color": "#E1E4E8", "text-decoration": "underline" } }, "./a.png"),
556
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
557
- ]),
558
- createTextVNode("\n"),
559
- createVNode("span", { class: "line" }, [
560
- createVNode("span", { style: { "color": "#E1E4E8" } }, "![]("),
561
- createVNode("span", { style: { "color": "#E1E4E8", "text-decoration": "underline" } }, "./b.png"),
562
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
563
- ])
564
- ])
565
- ]),
566
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
567
- createVNode("code", null, [
568
- createVNode("span", { class: "line" }, [
569
- createVNode("span", { style: { "color": "#24292E" } }, "// posts/your-post/index.md")
570
- ]),
571
- createTextVNode("\n"),
572
- createVNode("span", { class: "line" }),
573
- createTextVNode("\n"),
574
- createVNode("span", { class: "line" }, [
575
- createVNode("span", { style: { "color": "#24292E" } }, "![]("),
576
- createVNode("span", { style: { "color": "#24292E", "text-decoration": "underline" } }, "./a.png"),
577
- createVNode("span", { style: { "color": "#24292E" } }, ")")
578
- ]),
579
- createTextVNode("\n"),
580
- createVNode("span", { class: "line" }, [
581
- createVNode("span", { style: { "color": "#24292E" } }, "![]("),
582
- createVNode("span", { style: { "color": "#24292E", "text-decoration": "underline" } }, "./b.png"),
583
- createVNode("span", { style: { "color": "#24292E" } }, ")")
584
- ])
585
- ])
586
- ])
587
- ])
588
- ]),
589
- createVNode("div", { lang: "en" }, [
590
- createVNode("p", null, "The following are some of our recommended best practices, but you do not need to fully adhere to them."),
591
- createVNode("ol", null, [
592
- createVNode("li", null, "It is recommended to name folders and files in English.")
593
- ]),
594
- createVNode("div", { class: "language-txt" }, [
595
- createVNode("button", {
596
- title: "Copy Code",
597
- class: "copy"
598
- }),
599
- createVNode("span", { class: "lang" }, "txt"),
600
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
601
- createVNode("code", null, [
602
- createVNode("span", { class: "line" }, [
603
- createVNode("span", { style: { "color": "#e1e4e8" } }, "blog/pages/posts/your-post.md")
604
- ])
605
- ])
606
- ]),
607
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
608
- createVNode("code", null, [
609
- createVNode("span", { class: "line" }, [
610
- createVNode("span", { style: { "color": "#24292e" } }, "blog/pages/posts/your-post.md")
611
- ])
612
- ])
613
- ])
614
- ]),
615
- createVNode("ol", { start: "2" }, [
616
- createVNode("li", null, [
617
- createTextVNode("When inserting third-party/large amounts of dynamic content, priority should be given to encapsulating it as a component and placing it in "),
618
- createVNode("code", null, "blog/components"),
619
- createTextVNode(", and introducing it through component tag names.")
620
- ])
621
- ]),
622
- createVNode("div", { class: "language-vue" }, [
623
- createVNode("button", {
624
- title: "Copy Code",
625
- class: "copy"
626
- }),
627
- createVNode("span", { class: "lang" }, "vue"),
628
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
629
- createVNode("code", null, [
630
- createVNode("span", { class: "line" }, [
631
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// blog/components/BszComponent.vue")
632
- ]),
633
- createTextVNode("\n"),
634
- createVNode("span", { class: "line" }),
635
- createTextVNode("\n"),
636
- createVNode("span", { class: "line" }, [
637
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
638
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
639
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
640
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
641
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
642
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
643
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
644
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
645
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
646
- ]),
647
- createTextVNode("\n"),
648
- createVNode("span", { class: "line" }, [
649
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
650
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useScriptTag } "),
651
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
652
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
653
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'@vueuse/core'")
654
- ]),
655
- createTextVNode("\n"),
656
- createVNode("span", { class: "line" }),
657
- createTextVNode("\n"),
658
- createVNode("span", { class: "line" }, [
659
- createVNode("span", { style: { "color": "#B392F0" } }, "useScriptTag"),
660
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
661
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
662
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
663
- ]),
664
- createTextVNode("\n"),
665
- createVNode("span", { class: "line" }, [
666
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
667
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
668
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
669
- ]),
670
- createTextVNode("\n"),
671
- createVNode("span", { class: "line" }),
672
- createTextVNode("\n"),
673
- createVNode("span", { class: "line" }, [
674
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
675
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
676
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
677
- ]),
678
- createTextVNode("\n"),
679
- createVNode("span", { class: "line" }, [
680
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
681
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
682
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
683
- ]),
684
- createTextVNode("\n"),
685
- createVNode("span", { class: "line" }, [
686
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
687
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
688
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站总访问量 <"),
689
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
690
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
691
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
692
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
693
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_pv"'),
694
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
695
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
696
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 次</"),
697
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
698
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
699
- ]),
700
- createTextVNode("\n"),
701
- createVNode("span", { class: "line" }, [
702
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
703
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
704
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站访客数 <"),
705
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
706
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
707
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
708
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
709
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_uv"'),
710
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
711
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
712
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 人次</"),
713
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
714
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
715
- ]),
716
- createTextVNode("\n"),
717
- createVNode("span", { class: "line" }, [
718
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
719
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
720
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
721
- ]),
722
- createTextVNode("\n"),
723
- createVNode("span", { class: "line" }, [
724
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
725
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
726
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
727
- ])
728
- ])
729
- ]),
730
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
731
- createVNode("code", null, [
732
- createVNode("span", { class: "line" }, [
733
- createVNode("span", { style: { "color": "#24292E" } }, "// blog/components/BszComponent.vue")
734
- ]),
735
- createTextVNode("\n"),
736
- createVNode("span", { class: "line" }),
737
- createTextVNode("\n"),
738
- createVNode("span", { class: "line" }, [
739
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
740
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
741
- createVNode("span", { style: { "color": "#24292E" } }, " "),
742
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
743
- createVNode("span", { style: { "color": "#24292E" } }, "="),
744
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
745
- createVNode("span", { style: { "color": "#24292E" } }, " "),
746
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
747
- createVNode("span", { style: { "color": "#24292E" } }, ">")
748
- ]),
749
- createTextVNode("\n"),
750
- createVNode("span", { class: "line" }, [
751
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
752
- createVNode("span", { style: { "color": "#24292E" } }, " { useScriptTag } "),
753
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
754
- createVNode("span", { style: { "color": "#24292E" } }, " "),
755
- createVNode("span", { style: { "color": "#032F62" } }, "'@vueuse/core'")
756
- ]),
757
- createTextVNode("\n"),
758
- createVNode("span", { class: "line" }),
759
- createTextVNode("\n"),
760
- createVNode("span", { class: "line" }, [
761
- createVNode("span", { style: { "color": "#6F42C1" } }, "useScriptTag"),
762
- createVNode("span", { style: { "color": "#24292E" } }, "("),
763
- createVNode("span", { style: { "color": "#032F62" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
764
- createVNode("span", { style: { "color": "#24292E" } }, ")")
765
- ]),
766
- createTextVNode("\n"),
767
- createVNode("span", { class: "line" }, [
768
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
769
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
770
- createVNode("span", { style: { "color": "#24292E" } }, ">")
771
- ]),
772
- createTextVNode("\n"),
773
- createVNode("span", { class: "line" }),
774
- createTextVNode("\n"),
775
- createVNode("span", { class: "line" }, [
776
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
777
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
778
- createVNode("span", { style: { "color": "#24292E" } }, ">")
779
- ]),
780
- createTextVNode("\n"),
781
- createVNode("span", { class: "line" }, [
782
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
783
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
784
- createVNode("span", { style: { "color": "#24292E" } }, ">")
785
- ]),
786
- createTextVNode("\n"),
787
- createVNode("span", { class: "line" }, [
788
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
789
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
790
- createVNode("span", { style: { "color": "#24292E" } }, ">本站总访问量 <"),
791
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
792
- createVNode("span", { style: { "color": "#24292E" } }, " "),
793
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
794
- createVNode("span", { style: { "color": "#24292E" } }, "="),
795
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_pv"'),
796
- createVNode("span", { style: { "color": "#24292E" } }, " "),
797
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
798
- createVNode("span", { style: { "color": "#24292E" } }, "> 次</"),
799
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
800
- createVNode("span", { style: { "color": "#24292E" } }, ">")
801
- ]),
802
- createTextVNode("\n"),
803
- createVNode("span", { class: "line" }, [
804
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
805
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
806
- createVNode("span", { style: { "color": "#24292E" } }, ">本站访客数 <"),
807
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
808
- createVNode("span", { style: { "color": "#24292E" } }, " "),
809
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
810
- createVNode("span", { style: { "color": "#24292E" } }, "="),
811
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_uv"'),
812
- createVNode("span", { style: { "color": "#24292E" } }, " "),
813
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
814
- createVNode("span", { style: { "color": "#24292E" } }, "> 人次</"),
815
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
816
- createVNode("span", { style: { "color": "#24292E" } }, ">")
817
- ]),
818
- createTextVNode("\n"),
819
- createVNode("span", { class: "line" }, [
820
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
821
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
822
- createVNode("span", { style: { "color": "#24292E" } }, ">")
823
- ]),
824
- createTextVNode("\n"),
825
- createVNode("span", { class: "line" }, [
826
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
827
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
828
- createVNode("span", { style: { "color": "#24292E" } }, ">")
829
- ])
830
- ])
831
- ])
832
- ]),
833
- createVNode("div", { class: "language-md" }, [
834
- createVNode("button", {
835
- title: "Copy Code",
836
- class: "copy"
837
- }),
838
- createVNode("span", { class: "lang" }, "md"),
839
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
840
- createVNode("code", null, [
841
- createVNode("span", { class: "line" }, [
842
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// blog/pages/posts/test-custom-component.md")
843
- ]),
844
- createTextVNode("\n"),
845
- createVNode("span", { class: "line" }),
846
- createTextVNode("\n"),
847
- createVNode("span", { class: "line" }, [
848
- createVNode("span", { style: { "color": "#79B8FF", "font-weight": "bold" } }, "# hello World")
849
- ]),
850
- createTextVNode("\n"),
851
- createVNode("span", { class: "line" }, [
852
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<BszComponent/>")
853
- ])
854
- ])
855
- ]),
856
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
857
- createVNode("code", null, [
858
- createVNode("span", { class: "line" }, [
859
- createVNode("span", { style: { "color": "#24292E" } }, "// blog/pages/posts/test-custom-component.md")
860
- ]),
861
- createTextVNode("\n"),
862
- createVNode("span", { class: "line" }),
863
- createTextVNode("\n"),
864
- createVNode("span", { class: "line" }, [
865
- createVNode("span", { style: { "color": "#005CC5", "font-weight": "bold" } }, "# hello World")
866
- ]),
867
- createTextVNode("\n"),
868
- createVNode("span", { class: "line" }, [
869
- createVNode("span", { style: { "color": "#24292E" } }, "<BszComponent/>")
870
- ])
871
- ])
872
- ])
873
- ]),
874
- createVNode("ol", { start: "3" }, [
875
- createVNode("li", null, "If you do not want to use external links in the post, it is recommended to create folders and reference images in the following format for easy management and migration.")
876
- ]),
877
- createVNode("div", { class: "language-txt" }, [
878
- createVNode("button", {
879
- title: "Copy Code",
880
- class: "copy"
881
- }),
882
- createVNode("span", { class: "lang" }, "txt"),
883
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
884
- createVNode("code", null, [
885
- createVNode("span", { class: "line" }, [
886
- createVNode("span", { style: { "color": "#e1e4e8" } }, "posts")
887
- ]),
888
- createTextVNode("\n"),
889
- createVNode("span", { class: "line" }, [
890
- createVNode("span", { style: { "color": "#e1e4e8" } }, "├─ your-post")
891
- ]),
892
- createTextVNode("\n"),
893
- createVNode("span", { class: "line" }, [
894
- createVNode("span", { style: { "color": "#e1e4e8" } }, "│ ├─ a.png")
895
- ]),
896
- createTextVNode("\n"),
897
- createVNode("span", { class: "line" }, [
898
- createVNode("span", { style: { "color": "#e1e4e8" } }, "| ├─ b.png")
899
- ]),
900
- createTextVNode("\n"),
901
- createVNode("span", { class: "line" }, [
902
- createVNode("span", { style: { "color": "#e1e4e8" } }, "│ └─ index.md")
903
- ])
904
- ])
905
- ]),
906
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
907
- createVNode("code", null, [
908
- createVNode("span", { class: "line" }, [
909
- createVNode("span", { style: { "color": "#24292e" } }, "posts")
910
- ]),
911
- createTextVNode("\n"),
912
- createVNode("span", { class: "line" }, [
913
- createVNode("span", { style: { "color": "#24292e" } }, "├─ your-post")
914
- ]),
915
- createTextVNode("\n"),
916
- createVNode("span", { class: "line" }, [
917
- createVNode("span", { style: { "color": "#24292e" } }, "│ ├─ a.png")
918
- ]),
919
- createTextVNode("\n"),
920
- createVNode("span", { class: "line" }, [
921
- createVNode("span", { style: { "color": "#24292e" } }, "| ├─ b.png")
922
- ]),
923
- createTextVNode("\n"),
924
- createVNode("span", { class: "line" }, [
925
- createVNode("span", { style: { "color": "#24292e" } }, "│ └─ index.md")
926
- ])
927
- ])
928
- ])
929
- ]),
930
- createVNode("div", { class: "language-md" }, [
931
- createVNode("button", {
932
- title: "Copy Code",
933
- class: "copy"
934
- }),
935
- createVNode("span", { class: "lang" }, "md"),
936
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
937
- createVNode("code", null, [
938
- createVNode("span", { class: "line" }, [
939
- createVNode("span", { style: { "color": "#E1E4E8" } }, "// posts/your-post/index.md")
940
- ]),
941
- createTextVNode("\n"),
942
- createVNode("span", { class: "line" }),
943
- createTextVNode("\n"),
944
- createVNode("span", { class: "line" }, [
945
- createVNode("span", { style: { "color": "#E1E4E8" } }, "![]("),
946
- createVNode("span", { style: { "color": "#E1E4E8", "text-decoration": "underline" } }, "./a.png"),
947
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
948
- ]),
949
- createTextVNode("\n"),
950
- createVNode("span", { class: "line" }, [
951
- createVNode("span", { style: { "color": "#E1E4E8" } }, "![]("),
952
- createVNode("span", { style: { "color": "#E1E4E8", "text-decoration": "underline" } }, "./b.png"),
953
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
954
- ])
955
- ])
956
- ]),
957
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
958
- createVNode("code", null, [
959
- createVNode("span", { class: "line" }, [
960
- createVNode("span", { style: { "color": "#24292E" } }, "// posts/your-post/index.md")
961
- ]),
962
- createTextVNode("\n"),
963
- createVNode("span", { class: "line" }),
964
- createTextVNode("\n"),
965
- createVNode("span", { class: "line" }, [
966
- createVNode("span", { style: { "color": "#24292E" } }, "![]("),
967
- createVNode("span", { style: { "color": "#24292E", "text-decoration": "underline" } }, "./a.png"),
968
- createVNode("span", { style: { "color": "#24292E" } }, ")")
969
- ]),
970
- createTextVNode("\n"),
971
- createVNode("span", { class: "line" }, [
972
- createVNode("span", { style: { "color": "#24292E" } }, "![]("),
973
- createVNode("span", { style: { "color": "#24292E", "text-decoration": "underline" } }, "./b.png"),
974
- createVNode("span", { style: { "color": "#24292E" } }, ")")
975
- ])
976
- ])
977
- ])
978
- ])
979
- ])
980
- ];
981
- }
982
- }),
983
- "main-header": withCtx((_, _push2, _parent2, _scopeId) => {
984
- if (_push2) {
985
- ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
986
- } else {
987
- return [
988
- renderSlot(_ctx.$slots, "main-header")
989
- ];
990
- }
991
- }),
992
- "main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
993
- if (_push2) {
994
- ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
995
- } else {
996
- return [
997
- renderSlot(_ctx.$slots, "main-header-after")
998
- ];
999
- }
1000
- }),
1001
- "main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
1002
- if (_push2) {
1003
- ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
1004
- } else {
1005
- return [
1006
- renderSlot(_ctx.$slots, "main-nav")
1007
- ];
1008
- }
1009
- }),
1010
- "main-content": withCtx((_, _push2, _parent2, _scopeId) => {
1011
- if (_push2) {
1012
- ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
1013
- } else {
1014
- return [
1015
- renderSlot(_ctx.$slots, "main-content")
1016
- ];
1017
- }
1018
- }),
1019
- "main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
1020
- if (_push2) {
1021
- ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
1022
- } else {
1023
- return [
1024
- renderSlot(_ctx.$slots, "main-content-after")
1025
- ];
1026
- }
1027
- }),
1028
- "main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
1029
- if (_push2) {
1030
- ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
1031
- } else {
1032
- return [
1033
- renderSlot(_ctx.$slots, "main-nav-before")
1034
- ];
1035
- }
1036
- }),
1037
- "main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
1038
- if (_push2) {
1039
- ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
1040
- } else {
1041
- return [
1042
- renderSlot(_ctx.$slots, "main-nav-after")
1043
- ];
1044
- }
1045
- }),
1046
- comment: withCtx((_, _push2, _parent2, _scopeId) => {
1047
- if (_push2) {
1048
- ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
1049
- } else {
1050
- return [
1051
- renderSlot(_ctx.$slots, "comment")
1052
- ];
1053
- }
1054
- }),
1055
- footer: withCtx((_, _push2, _parent2, _scopeId) => {
1056
- if (_push2) {
1057
- ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
1058
- } else {
1059
- return [
1060
- renderSlot(_ctx.$slots, "footer")
1061
- ];
1062
- }
1063
- }),
1064
- aside: withCtx((_, _push2, _parent2, _scopeId) => {
1065
- if (_push2) {
1066
- ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
1067
- } else {
1068
- return [
1069
- renderSlot(_ctx.$slots, "aside")
1070
- ];
1071
- }
1072
- }),
1073
- "aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
1074
- if (_push2) {
1075
- ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
1076
- } else {
1077
- return [
1078
- renderSlot(_ctx.$slots, "aside-custom")
1079
- ];
1080
- }
1081
- }),
1082
- default: withCtx((_, _push2, _parent2, _scopeId) => {
1083
- if (_push2) {
1084
- ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
1085
- } else {
1086
- return [
1087
- renderSlot(_ctx.$slots, "default")
1088
- ];
1089
- }
1090
- }),
1091
- _: 3
1092
- /* FORWARDED */
1093
- }, _parent));
1094
- }
1095
- const _sfc_setup = _sfc_main.setup;
1096
- _sfc_main.setup = (props, ctx) => {
1097
- const ssrContext = useSSRContext();
1098
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/best-pratice.md");
1099
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
1100
- };
1101
- const bestPratice = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
1102
- export {
1103
- __pageData,
1104
- bestPratice as default
1105
- };