create-bc-app 1.1.2 → 1.1.4

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 (103) hide show
  1. package/dist/index.mjs +58 -36
  2. package/package.json +5 -3
  3. package/template-docs-vitepress/.vitepress/cache/deps/@theme_index.js +259 -259
  4. package/template-docs-vitepress/.vitepress/cache/deps/@theme_index.js.map +7 -7
  5. package/template-docs-vitepress/.vitepress/cache/deps/_metadata.json +39 -39
  6. package/template-docs-vitepress/.vitepress/cache/deps/chunk-2MKPR7PC.js +9172 -9172
  7. package/template-docs-vitepress/.vitepress/cache/deps/chunk-2MKPR7PC.js.map +7 -7
  8. package/template-docs-vitepress/.vitepress/cache/deps/chunk-ZXJI2PUM.js +11482 -11482
  9. package/template-docs-vitepress/.vitepress/cache/deps/chunk-ZXJI2PUM.js.map +7 -7
  10. package/template-docs-vitepress/.vitepress/cache/deps/package.json +3 -3
  11. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +4347 -4347
  12. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +7 -7
  13. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vueuse_core.js +567 -567
  14. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +7 -7
  15. package/template-docs-vitepress/.vitepress/cache/deps/vue.js +323 -323
  16. package/template-docs-vitepress/.vitepress/cache/deps/vue.js.map +7 -7
  17. package/template-docs-vitepress/.vitepress/config.mts +28 -28
  18. package/template-docs-vitepress/api-examples.md +49 -49
  19. package/template-docs-vitepress/index.md +25 -25
  20. package/template-docs-vitepress/markdown-examples.md +85 -85
  21. package/template-docs-vitepress/package-lock.json +1742 -1742
  22. package/template-docs-vitepress/package.json +9 -9
  23. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vue_devtools-api.js +11 -11
  24. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vue_devtools-api.js.map +7 -7
  25. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vuepress_shared.js +136 -136
  26. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vuepress_shared.js.map +7 -7
  27. package/template-docs-vuepress/docs/.vuepress/.cache/deps/_metadata.json +39 -39
  28. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-5K23BRP6.js +11482 -11482
  29. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-5K23BRP6.js.map +7 -7
  30. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-UKCZNIRO.js +164 -164
  31. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-UKCZNIRO.js.map +7 -7
  32. package/template-docs-vuepress/docs/.vuepress/.cache/deps/package.json +3 -3
  33. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue-router.js +2744 -2744
  34. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue-router.js.map +7 -7
  35. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue.js +323 -323
  36. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue.js.map +7 -7
  37. package/template-docs-vuepress/docs/.vuepress/.temp/internal/clientConfigs.js +19 -19
  38. package/template-docs-vuepress/docs/.vuepress/.temp/internal/routes.js +24 -24
  39. package/template-docs-vuepress/docs/.vuepress/.temp/internal/siteData.js +14 -14
  40. package/template-docs-vuepress/docs/.vuepress/.temp/internal/themeData.js +14 -14
  41. package/template-docs-vuepress/docs/.vuepress/.temp/pages/404.html.js +16 -16
  42. package/template-docs-vuepress/docs/.vuepress/.temp/pages/404.html.vue +4 -4
  43. package/template-docs-vuepress/docs/.vuepress/.temp/pages/get-started.html.js +16 -16
  44. package/template-docs-vuepress/docs/.vuepress/.temp/pages/get-started.html.vue +23 -23
  45. package/template-docs-vuepress/docs/.vuepress/.temp/pages/index.html.js +16 -16
  46. package/template-docs-vuepress/docs/.vuepress/.temp/pages/index.html.vue +4 -4
  47. package/template-docs-vuepress/docs/.vuepress/.temp/prismjs/config.js +2 -2
  48. package/template-docs-vuepress/docs/.vuepress/.temp/vite-root/index.html +13 -13
  49. package/template-docs-vuepress/docs/.vuepress/config.js +18 -18
  50. package/template-docs-vuepress/docs/README.md +33 -33
  51. package/template-docs-vuepress/docs/get-started.md +46 -46
  52. package/template-docs-vuepress/package-lock.json +3380 -3380
  53. package/template-docs-vuepress/package.json +19 -19
  54. package/{template-protocut-2d → template-laserlib}/.eslintrc.cjs +2 -4
  55. package/{template-protocut-2d → template-laserlib}/.gitlab-ci.yml +1 -1
  56. package/{template-protocut-2d → template-laserlib}/README.md +0 -1
  57. package/template-laserlib/data/adapter/index.ts +0 -0
  58. package/template-laserlib/data/adapter/main-page/index.ts +6 -0
  59. package/template-laserlib/data/api/http.ts +34 -0
  60. package/template-laserlib/data/api/index.ts +14 -0
  61. package/template-laserlib/data/message/index.ts +4 -0
  62. package/template-laserlib/data/message/msgWebSocket.ts +39 -0
  63. package/template-laserlib/data/message/process.ts +20 -0
  64. package/template-laserlib/example/app.vue +37 -0
  65. package/template-laserlib/example/assets/bochui.svg +7 -0
  66. package/template-laserlib/example/assets/group.svg +3 -0
  67. package/template-laserlib/example/main.ts +12 -0
  68. package/template-laserlib/example/style.css +1 -0
  69. package/{template-protocut-2d → template-laserlib}/index.html +2 -2
  70. package/template-laserlib/model/entity/constants.ts +0 -0
  71. package/template-laserlib/model/entity/index.ts +19 -0
  72. package/template-laserlib/model/main-page/index.ts +6 -0
  73. package/template-laserlib/package.json +52 -0
  74. package/template-laserlib/packages/main-page/index.ts +8 -0
  75. package/template-laserlib/packages/main-page/index.vue +10 -0
  76. package/template-laserlib/public/group.svg +3 -0
  77. package/template-laserlib/src/index.ts +41 -0
  78. package/{template-protocut-2d → template-laserlib}/test/Example.test.ts +0 -6
  79. package/{template-protocut-2d → template-laserlib}/tsconfig.json +15 -3
  80. package/template-laserlib/types/index.d.ts +14 -0
  81. package/template-laserlib/vite-env.d.ts +6 -0
  82. package/template-laserlib/vite.config.ts +41 -0
  83. package/template-laserlib/window.d.ts +10 -0
  84. package/template-vue-js/package.json +34 -34
  85. package/template-protocut-2d/.gitignore +0 -24
  86. package/template-protocut-2d/image.png +0 -0
  87. package/template-protocut-2d/package-lock.json +0 -4917
  88. package/template-protocut-2d/package.json +0 -41
  89. package/template-protocut-2d/public/vite.svg +0 -1
  90. package/template-protocut-2d/src/App.vue +0 -12
  91. package/template-protocut-2d/src/assets/vue.svg +0 -1
  92. package/template-protocut-2d/src/components/Example.vue +0 -36
  93. package/template-protocut-2d/src/main.ts +0 -43
  94. package/template-protocut-2d/src/style.css +0 -5
  95. package/template-protocut-2d/src/utils/plugins/watchNodeModules.js +0 -24
  96. package/template-protocut-2d/src/views/Home.vue +0 -143
  97. package/template-protocut-2d/src/vite-env.d.ts +0 -1
  98. package/template-protocut-2d/tsconfig.app.json +0 -27
  99. package/template-protocut-2d/vite-env.d.ts +0 -15
  100. package/template-protocut-2d/vite.config.ts +0 -55
  101. package/template-protocut-2d/window.d.ts +0 -6
  102. /package/{template-protocut-2d → template-laserlib}/test/App.test.ts +0 -0
  103. /package/{template-protocut-2d → template-laserlib}/tsconfig.node.json +0 -0
@@ -1,24 +1,24 @@
1
- export const redirects = JSON.parse("{}")
2
-
3
- export const routes = Object.fromEntries([
4
- ["/get-started.html", { loader: () => import(/* webpackChunkName: "get-started.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/get-started.html.js"), meta: {"title":"Get Started"} }],
5
- ["/", { loader: () => import(/* webpackChunkName: "index.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/index.html.js"), meta: {"title":"Home"} }],
6
- ["/404.html", { loader: () => import(/* webpackChunkName: "404.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/404.html.js"), meta: {"title":""} }],
7
- ]);
8
-
9
- if (import.meta.webpackHot) {
10
- import.meta.webpackHot.accept()
11
- if (__VUE_HMR_RUNTIME__.updateRoutes) {
12
- __VUE_HMR_RUNTIME__.updateRoutes(routes)
13
- }
14
- if (__VUE_HMR_RUNTIME__.updateRedirects) {
15
- __VUE_HMR_RUNTIME__.updateRedirects(redirects)
16
- }
17
- }
18
-
19
- if (import.meta.hot) {
20
- import.meta.hot.accept(({ routes, redirects }) => {
21
- __VUE_HMR_RUNTIME__.updateRoutes(routes)
22
- __VUE_HMR_RUNTIME__.updateRedirects(redirects)
23
- })
24
- }
1
+ export const redirects = JSON.parse("{}")
2
+
3
+ export const routes = Object.fromEntries([
4
+ ["/get-started.html", { loader: () => import(/* webpackChunkName: "get-started.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/get-started.html.js"), meta: {"title":"Get Started"} }],
5
+ ["/", { loader: () => import(/* webpackChunkName: "index.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/index.html.js"), meta: {"title":"Home"} }],
6
+ ["/404.html", { loader: () => import(/* webpackChunkName: "404.html" */"D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/404.html.js"), meta: {"title":""} }],
7
+ ]);
8
+
9
+ if (import.meta.webpackHot) {
10
+ import.meta.webpackHot.accept()
11
+ if (__VUE_HMR_RUNTIME__.updateRoutes) {
12
+ __VUE_HMR_RUNTIME__.updateRoutes(routes)
13
+ }
14
+ if (__VUE_HMR_RUNTIME__.updateRedirects) {
15
+ __VUE_HMR_RUNTIME__.updateRedirects(redirects)
16
+ }
17
+ }
18
+
19
+ if (import.meta.hot) {
20
+ import.meta.hot.accept(({ routes, redirects }) => {
21
+ __VUE_HMR_RUNTIME__.updateRoutes(routes)
22
+ __VUE_HMR_RUNTIME__.updateRedirects(redirects)
23
+ })
24
+ }
@@ -1,14 +1,14 @@
1
- export const siteData = JSON.parse("{\"base\":\"/\",\"lang\":\"en-US\",\"title\":\"Bochui VuePress\",\"description\":\"My first VuePress Site\",\"head\":[],\"locales\":{}}")
2
-
3
- if (import.meta.webpackHot) {
4
- import.meta.webpackHot.accept()
5
- if (__VUE_HMR_RUNTIME__.updateSiteData) {
6
- __VUE_HMR_RUNTIME__.updateSiteData(siteData)
7
- }
8
- }
9
-
10
- if (import.meta.hot) {
11
- import.meta.hot.accept(({ siteData }) => {
12
- __VUE_HMR_RUNTIME__.updateSiteData(siteData)
13
- })
14
- }
1
+ export const siteData = JSON.parse("{\"base\":\"/\",\"lang\":\"en-US\",\"title\":\"Bochui VuePress\",\"description\":\"My first VuePress Site\",\"head\":[],\"locales\":{}}")
2
+
3
+ if (import.meta.webpackHot) {
4
+ import.meta.webpackHot.accept()
5
+ if (__VUE_HMR_RUNTIME__.updateSiteData) {
6
+ __VUE_HMR_RUNTIME__.updateSiteData(siteData)
7
+ }
8
+ }
9
+
10
+ if (import.meta.hot) {
11
+ import.meta.hot.accept(({ siteData }) => {
12
+ __VUE_HMR_RUNTIME__.updateSiteData(siteData)
13
+ })
14
+ }
@@ -1,14 +1,14 @@
1
- export const themeData = JSON.parse("{\"logo\":\"https://vuejs.press/images/hero.png\",\"navbar\":[\"/\",\"/get-started\"],\"locales\":{\"/\":{\"selectLanguageName\":\"English\"}},\"colorMode\":\"auto\",\"colorModeSwitch\":true,\"repo\":null,\"selectLanguageText\":\"Languages\",\"selectLanguageAriaLabel\":\"Select language\",\"sidebar\":\"heading\",\"sidebarDepth\":2,\"editLink\":true,\"editLinkText\":\"Edit this page\",\"lastUpdated\":true,\"lastUpdatedText\":\"Last Updated\",\"contributors\":true,\"contributorsText\":\"Contributors\",\"notFound\":[\"There's nothing here.\",\"How did we get here?\",\"That's a Four-Oh-Four.\",\"Looks like we've got some broken links.\"],\"backToHome\":\"Take me home\",\"openInNewWindow\":\"open in new window\",\"toggleColorMode\":\"toggle color mode\",\"toggleSidebar\":\"toggle sidebar\"}")
2
-
3
- if (import.meta.webpackHot) {
4
- import.meta.webpackHot.accept()
5
- if (__VUE_HMR_RUNTIME__.updateThemeData) {
6
- __VUE_HMR_RUNTIME__.updateThemeData(themeData)
7
- }
8
- }
9
-
10
- if (import.meta.hot) {
11
- import.meta.hot.accept(({ themeData }) => {
12
- __VUE_HMR_RUNTIME__.updateThemeData(themeData)
13
- })
14
- }
1
+ export const themeData = JSON.parse("{\"logo\":\"https://vuejs.press/images/hero.png\",\"navbar\":[\"/\",\"/get-started\"],\"locales\":{\"/\":{\"selectLanguageName\":\"English\"}},\"colorMode\":\"auto\",\"colorModeSwitch\":true,\"repo\":null,\"selectLanguageText\":\"Languages\",\"selectLanguageAriaLabel\":\"Select language\",\"sidebar\":\"heading\",\"sidebarDepth\":2,\"editLink\":true,\"editLinkText\":\"Edit this page\",\"lastUpdated\":true,\"lastUpdatedText\":\"Last Updated\",\"contributors\":true,\"contributorsText\":\"Contributors\",\"notFound\":[\"There's nothing here.\",\"How did we get here?\",\"That's a Four-Oh-Four.\",\"Looks like we've got some broken links.\"],\"backToHome\":\"Take me home\",\"openInNewWindow\":\"open in new window\",\"toggleColorMode\":\"toggle color mode\",\"toggleSidebar\":\"toggle sidebar\"}")
2
+
3
+ if (import.meta.webpackHot) {
4
+ import.meta.webpackHot.accept()
5
+ if (__VUE_HMR_RUNTIME__.updateThemeData) {
6
+ __VUE_HMR_RUNTIME__.updateThemeData(themeData)
7
+ }
8
+ }
9
+
10
+ if (import.meta.hot) {
11
+ import.meta.hot.accept(({ themeData }) => {
12
+ __VUE_HMR_RUNTIME__.updateThemeData(themeData)
13
+ })
14
+ }
@@ -1,16 +1,16 @@
1
- import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/404.html.vue"
2
- const data = JSON.parse("{\"path\":\"/404.html\",\"title\":\"\",\"lang\":\"en-US\",\"frontmatter\":{\"layout\":\"NotFound\"},\"headers\":[],\"git\":{},\"filePathRelative\":null}")
3
- export { comp, data }
4
-
5
- if (import.meta.webpackHot) {
6
- import.meta.webpackHot.accept()
7
- if (__VUE_HMR_RUNTIME__.updatePageData) {
8
- __VUE_HMR_RUNTIME__.updatePageData(data)
9
- }
10
- }
11
-
12
- if (import.meta.hot) {
13
- import.meta.hot.accept(({ data }) => {
14
- __VUE_HMR_RUNTIME__.updatePageData(data)
15
- })
16
- }
1
+ import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/404.html.vue"
2
+ const data = JSON.parse("{\"path\":\"/404.html\",\"title\":\"\",\"lang\":\"en-US\",\"frontmatter\":{\"layout\":\"NotFound\"},\"headers\":[],\"git\":{},\"filePathRelative\":null}")
3
+ export { comp, data }
4
+
5
+ if (import.meta.webpackHot) {
6
+ import.meta.webpackHot.accept()
7
+ if (__VUE_HMR_RUNTIME__.updatePageData) {
8
+ __VUE_HMR_RUNTIME__.updatePageData(data)
9
+ }
10
+ }
11
+
12
+ if (import.meta.hot) {
13
+ import.meta.hot.accept(({ data }) => {
14
+ __VUE_HMR_RUNTIME__.updatePageData(data)
15
+ })
16
+ }
@@ -1,4 +1,4 @@
1
- <template><div><p>404 Not Found</p>
2
- </div></template>
3
-
4
-
1
+ <template><div><p>404 Not Found</p>
2
+ </div></template>
3
+
4
+
@@ -1,16 +1,16 @@
1
- import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/get-started.html.vue"
2
- const data = JSON.parse("{\"path\":\"/get-started.html\",\"title\":\"Get Started\",\"lang\":\"en-US\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Pages\",\"slug\":\"pages\",\"link\":\"#pages\",\"children\":[]},{\"level\":2,\"title\":\"Content\",\"slug\":\"content\",\"link\":\"#content\",\"children\":[]},{\"level\":2,\"title\":\"Configuration\",\"slug\":\"configuration\",\"link\":\"#configuration\",\"children\":[]},{\"level\":2,\"title\":\"Layouts and customization\",\"slug\":\"layouts-and-customization\",\"link\":\"#layouts-and-customization\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"get-started.md\"}")
3
- export { comp, data }
4
-
5
- if (import.meta.webpackHot) {
6
- import.meta.webpackHot.accept()
7
- if (__VUE_HMR_RUNTIME__.updatePageData) {
8
- __VUE_HMR_RUNTIME__.updatePageData(data)
9
- }
10
- }
11
-
12
- if (import.meta.hot) {
13
- import.meta.hot.accept(({ data }) => {
14
- __VUE_HMR_RUNTIME__.updatePageData(data)
15
- })
16
- }
1
+ import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/get-started.html.vue"
2
+ const data = JSON.parse("{\"path\":\"/get-started.html\",\"title\":\"Get Started\",\"lang\":\"en-US\",\"frontmatter\":{},\"headers\":[{\"level\":2,\"title\":\"Pages\",\"slug\":\"pages\",\"link\":\"#pages\",\"children\":[]},{\"level\":2,\"title\":\"Content\",\"slug\":\"content\",\"link\":\"#content\",\"children\":[]},{\"level\":2,\"title\":\"Configuration\",\"slug\":\"configuration\",\"link\":\"#configuration\",\"children\":[]},{\"level\":2,\"title\":\"Layouts and customization\",\"slug\":\"layouts-and-customization\",\"link\":\"#layouts-and-customization\",\"children\":[]}],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"get-started.md\"}")
3
+ export { comp, data }
4
+
5
+ if (import.meta.webpackHot) {
6
+ import.meta.webpackHot.accept()
7
+ if (__VUE_HMR_RUNTIME__.updatePageData) {
8
+ __VUE_HMR_RUNTIME__.updatePageData(data)
9
+ }
10
+ }
11
+
12
+ if (import.meta.hot) {
13
+ import.meta.hot.accept(({ data }) => {
14
+ __VUE_HMR_RUNTIME__.updatePageData(data)
15
+ })
16
+ }
@@ -1,23 +1,23 @@
1
- <template><div><h1 id="get-started" tabindex="-1"><a class="header-anchor" href="#get-started"><span>Get Started</span></a></h1>
2
- <p>This is a normal page, which contains VuePress basics.</p>
3
- <h2 id="pages" tabindex="-1"><a class="header-anchor" href="#pages"><span>Pages</span></a></h2>
4
- <p>You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.</p>
5
- <p>See <a href="https://vuejs.press/guide/page.html#routing" target="_blank" rel="noopener noreferrer">routing</a> for more details.</p>
6
- <h2 id="content" tabindex="-1"><a class="header-anchor" href="#content"><span>Content</span></a></h2>
7
- <p>Every markdown file <a href="https://vuejs.press/guide/page.html#content" target="_blank" rel="noopener noreferrer">will be rendered to HTML, then converted to a Vue SFC</a>.</p>
8
- <p>VuePress support basic markdown syntax and <a href="https://vuejs.press/guide/markdown.html#syntax-extensions" target="_blank" rel="noopener noreferrer">some extensions</a>, you can also <a href="https://vuejs.press/guide/markdown.html#using-vue-in-markdown" target="_blank" rel="noopener noreferrer">use Vue features</a> in it.</p>
9
- <h2 id="configuration" tabindex="-1"><a class="header-anchor" href="#configuration"><span>Configuration</span></a></h2>
10
- <p>VuePress use a <code v-pre>.vuepress/config.js</code>(or .ts) file as <a href="https://vuejs.press/guide/configuration.html#client-config-file" target="_blank" rel="noopener noreferrer">site configuration</a>, you can use it to config your site.</p>
11
- <p>For <a href="https://vuejs.press/guide/configuration.html#client-config-file" target="_blank" rel="noopener noreferrer">client side configuration</a>, you can create <code v-pre>.vuepress/client.js</code>(or .ts).</p>
12
- <p>Meanwhile, you can also add configuration per page with <a href="https://vuejs.press/guide/page.html#frontmatter" target="_blank" rel="noopener noreferrer">frontmatter</a>.</p>
13
- <h2 id="layouts-and-customization" tabindex="-1"><a class="header-anchor" href="#layouts-and-customization"><span>Layouts and customization</span></a></h2>
14
- <p>Here are common configuration controlling layout of <code v-pre>@vuepress/theme-default</code>:</p>
15
- <ul>
16
- <li><a href="https://vuejs.press/reference/default-theme/config.html#navbar" target="_blank" rel="noopener noreferrer">navbar</a></li>
17
- <li><a href="https://vuejs.press/reference/default-theme/config.html#sidebar" target="_blank" rel="noopener noreferrer">sidebar</a></li>
18
- </ul>
19
- <p>Check <a href="https://vuejs.press/reference/default-theme/" target="_blank" rel="noopener noreferrer">default theme docs</a> for full reference.</p>
20
- <p>You can <a href="https://vuejs.press/reference/default-theme/styles.html#style-file" target="_blank" rel="noopener noreferrer">add extra style</a> with <code v-pre>.vuepress/styles/index.scss</code> file.</p>
21
- </div></template>
22
-
23
-
1
+ <template><div><h1 id="get-started" tabindex="-1"><a class="header-anchor" href="#get-started"><span>Get Started</span></a></h1>
2
+ <p>This is a normal page, which contains VuePress basics.</p>
3
+ <h2 id="pages" tabindex="-1"><a class="header-anchor" href="#pages"><span>Pages</span></a></h2>
4
+ <p>You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.</p>
5
+ <p>See <a href="https://vuejs.press/guide/page.html#routing" target="_blank" rel="noopener noreferrer">routing</a> for more details.</p>
6
+ <h2 id="content" tabindex="-1"><a class="header-anchor" href="#content"><span>Content</span></a></h2>
7
+ <p>Every markdown file <a href="https://vuejs.press/guide/page.html#content" target="_blank" rel="noopener noreferrer">will be rendered to HTML, then converted to a Vue SFC</a>.</p>
8
+ <p>VuePress support basic markdown syntax and <a href="https://vuejs.press/guide/markdown.html#syntax-extensions" target="_blank" rel="noopener noreferrer">some extensions</a>, you can also <a href="https://vuejs.press/guide/markdown.html#using-vue-in-markdown" target="_blank" rel="noopener noreferrer">use Vue features</a> in it.</p>
9
+ <h2 id="configuration" tabindex="-1"><a class="header-anchor" href="#configuration"><span>Configuration</span></a></h2>
10
+ <p>VuePress use a <code v-pre>.vuepress/config.js</code>(or .ts) file as <a href="https://vuejs.press/guide/configuration.html#client-config-file" target="_blank" rel="noopener noreferrer">site configuration</a>, you can use it to config your site.</p>
11
+ <p>For <a href="https://vuejs.press/guide/configuration.html#client-config-file" target="_blank" rel="noopener noreferrer">client side configuration</a>, you can create <code v-pre>.vuepress/client.js</code>(or .ts).</p>
12
+ <p>Meanwhile, you can also add configuration per page with <a href="https://vuejs.press/guide/page.html#frontmatter" target="_blank" rel="noopener noreferrer">frontmatter</a>.</p>
13
+ <h2 id="layouts-and-customization" tabindex="-1"><a class="header-anchor" href="#layouts-and-customization"><span>Layouts and customization</span></a></h2>
14
+ <p>Here are common configuration controlling layout of <code v-pre>@vuepress/theme-default</code>:</p>
15
+ <ul>
16
+ <li><a href="https://vuejs.press/reference/default-theme/config.html#navbar" target="_blank" rel="noopener noreferrer">navbar</a></li>
17
+ <li><a href="https://vuejs.press/reference/default-theme/config.html#sidebar" target="_blank" rel="noopener noreferrer">sidebar</a></li>
18
+ </ul>
19
+ <p>Check <a href="https://vuejs.press/reference/default-theme/" target="_blank" rel="noopener noreferrer">default theme docs</a> for full reference.</p>
20
+ <p>You can <a href="https://vuejs.press/reference/default-theme/styles.html#style-file" target="_blank" rel="noopener noreferrer">add extra style</a> with <code v-pre>.vuepress/styles/index.scss</code> file.</p>
21
+ </div></template>
22
+
23
+
@@ -1,16 +1,16 @@
1
- import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/index.html.vue"
2
- const data = JSON.parse("{\"path\":\"/\",\"title\":\"Home\",\"lang\":\"en-US\",\"frontmatter\":{\"home\":true,\"title\":\"Home\",\"heroImage\":\"https://vuejs.press/images/hero.png\",\"actions\":[{\"text\":\"Get Started\",\"link\":\"/getting-started.html\",\"type\":\"primary\"},{\"text\":\"Introduction\",\"link\":\"https://vuejs.press/guide/introduction.html\",\"type\":\"secondary\"}],\"features\":[{\"title\":\"Simplicity First\",\"details\":\"Minimal setup with markdown-centered project structure helps you focus on writing.\"},{\"title\":\"Vue-Powered\",\"details\":\"Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.\"},{\"title\":\"Performant\",\"details\":\"VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.\"},{\"title\":\"Themes\",\"details\":\"Providing a default theme out of the box. You can also choose a community theme or create your own one.\"},{\"title\":\"Plugins\",\"details\":\"Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.\"},{\"title\":\"Bundlers\",\"details\":\"Default bundler is Vite, while Webpack is also supported. Choose the one you like!\"}],\"footer\":\"MIT Licensed | Copyright © 2018-present VuePress Community\"},\"headers\":[],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"README.md\"}")
3
- export { comp, data }
4
-
5
- if (import.meta.webpackHot) {
6
- import.meta.webpackHot.accept()
7
- if (__VUE_HMR_RUNTIME__.updatePageData) {
8
- __VUE_HMR_RUNTIME__.updatePageData(data)
9
- }
10
- }
11
-
12
- if (import.meta.hot) {
13
- import.meta.hot.accept(({ data }) => {
14
- __VUE_HMR_RUNTIME__.updatePageData(data)
15
- })
16
- }
1
+ import comp from "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/docs/.vuepress/.temp/pages/index.html.vue"
2
+ const data = JSON.parse("{\"path\":\"/\",\"title\":\"Home\",\"lang\":\"en-US\",\"frontmatter\":{\"home\":true,\"title\":\"Home\",\"heroImage\":\"https://vuejs.press/images/hero.png\",\"actions\":[{\"text\":\"Get Started\",\"link\":\"/getting-started.html\",\"type\":\"primary\"},{\"text\":\"Introduction\",\"link\":\"https://vuejs.press/guide/introduction.html\",\"type\":\"secondary\"}],\"features\":[{\"title\":\"Simplicity First\",\"details\":\"Minimal setup with markdown-centered project structure helps you focus on writing.\"},{\"title\":\"Vue-Powered\",\"details\":\"Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.\"},{\"title\":\"Performant\",\"details\":\"VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.\"},{\"title\":\"Themes\",\"details\":\"Providing a default theme out of the box. You can also choose a community theme or create your own one.\"},{\"title\":\"Plugins\",\"details\":\"Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.\"},{\"title\":\"Bundlers\",\"details\":\"Default bundler is Vite, while Webpack is also supported. Choose the one you like!\"}],\"footer\":\"MIT Licensed | Copyright © 2018-present VuePress Community\"},\"headers\":[],\"git\":{\"updatedTime\":null,\"contributors\":[]},\"filePathRelative\":\"README.md\"}")
3
+ export { comp, data }
4
+
5
+ if (import.meta.webpackHot) {
6
+ import.meta.webpackHot.accept()
7
+ if (__VUE_HMR_RUNTIME__.updatePageData) {
8
+ __VUE_HMR_RUNTIME__.updatePageData(data)
9
+ }
10
+ }
11
+
12
+ if (import.meta.hot) {
13
+ import.meta.hot.accept(({ data }) => {
14
+ __VUE_HMR_RUNTIME__.updatePageData(data)
15
+ })
16
+ }
@@ -1,4 +1,4 @@
1
- <template><div><p>This is the content of home page. Check <a href="https://vuejs.press/reference/default-theme/frontmatter.html#home-page" target="_blank" rel="noopener noreferrer">Home Page Docs</a> for more details.</p>
2
- </div></template>
3
-
4
-
1
+ <template><div><p>This is the content of home page. Check <a href="https://vuejs.press/reference/default-theme/frontmatter.html#home-page" target="_blank" rel="noopener noreferrer">Home Page Docs</a> for more details.</p>
2
+ </div></template>
3
+
4
+
@@ -1,3 +1,3 @@
1
- import "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/node_modules/@vuepress/highlighter-helper/lib/client/styles/base.css"
2
- import "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/node_modules/@vuepress/plugin-prismjs/lib/client/styles/nord.css"
1
+ import "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/node_modules/@vuepress/highlighter-helper/lib/client/styles/base.css"
2
+ import "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/node_modules/@vuepress/plugin-prismjs/lib/client/styles/nord.css"
3
3
  import "D:/code/npm/create-fsapp/template-docs-vuepress/vuepress-starter/node_modules/@vuepress/highlighter-helper/lib/client/styles/line-numbers.css"
@@ -1,13 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- </head>
7
- <body>
8
- <div id="app"></div>
9
- <script type="module">
10
- import 'vuepress/client-app'
11
- </script>
12
- </body>
13
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ </head>
7
+ <body>
8
+ <div id="app"></div>
9
+ <script type="module">
10
+ import 'vuepress/client-app'
11
+ </script>
12
+ </body>
13
+ </html>
@@ -1,18 +1,18 @@
1
- import { defaultTheme } from '@vuepress/theme-default'
2
- import { defineUserConfig } from 'vuepress/cli'
3
- import { viteBundler } from '@vuepress/bundler-vite'
4
-
5
- export default defineUserConfig({
6
- lang: 'en-US',
7
-
8
- title: 'Bochui VuePress',
9
- description: 'My first VuePress Site',
10
-
11
- theme: defaultTheme({
12
- logo: 'https://vuejs.press/images/hero.png',
13
-
14
- navbar: ['/', '/get-started'],
15
- }),
16
-
17
- bundler: viteBundler(),
18
- })
1
+ import { defaultTheme } from '@vuepress/theme-default'
2
+ import { defineUserConfig } from 'vuepress/cli'
3
+ import { viteBundler } from '@vuepress/bundler-vite'
4
+
5
+ export default defineUserConfig({
6
+ lang: 'en-US',
7
+
8
+ title: 'Bochui VuePress',
9
+ description: 'My first VuePress Site',
10
+
11
+ theme: defaultTheme({
12
+ logo: 'https://vuejs.press/images/hero.png',
13
+
14
+ navbar: ['/', '/get-started'],
15
+ }),
16
+
17
+ bundler: viteBundler(),
18
+ })
@@ -1,33 +1,33 @@
1
- ---
2
- home: true
3
- title: Home
4
- heroImage: https://vuejs.press/images/hero.png
5
- actions:
6
- - text: Get Started
7
- link: /getting-started.html
8
- type: primary
9
-
10
- - text: Introduction
11
- link: https://vuejs.press/guide/introduction.html
12
- type: secondary
13
-
14
- features:
15
- - title: Simplicity First
16
- details: Minimal setup with markdown-centered project structure helps you focus on writing.
17
- - title: Vue-Powered
18
- details: Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.
19
- - title: Performant
20
- details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
21
- - title: Themes
22
- details: Providing a default theme out of the box. You can also choose a community theme or create your own one.
23
- - title: Plugins
24
- details: Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.
25
- - title: Bundlers
26
- details: Default bundler is Vite, while Webpack is also supported. Choose the one you like!
27
-
28
- footer: MIT Licensed | Copyright © 2018-present VuePress Community
29
- ---
30
-
31
- This is the content of home page. Check [Home Page Docs][default-theme-home] for more details.
32
-
33
- [default-theme-home]: https://vuejs.press/reference/default-theme/frontmatter.html#home-page
1
+ ---
2
+ home: true
3
+ title: Home
4
+ heroImage: https://vuejs.press/images/hero.png
5
+ actions:
6
+ - text: Get Started
7
+ link: /getting-started.html
8
+ type: primary
9
+
10
+ - text: Introduction
11
+ link: https://vuejs.press/guide/introduction.html
12
+ type: secondary
13
+
14
+ features:
15
+ - title: Simplicity First
16
+ details: Minimal setup with markdown-centered project structure helps you focus on writing.
17
+ - title: Vue-Powered
18
+ details: Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.
19
+ - title: Performant
20
+ details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
21
+ - title: Themes
22
+ details: Providing a default theme out of the box. You can also choose a community theme or create your own one.
23
+ - title: Plugins
24
+ details: Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.
25
+ - title: Bundlers
26
+ details: Default bundler is Vite, while Webpack is also supported. Choose the one you like!
27
+
28
+ footer: MIT Licensed | Copyright © 2018-present VuePress Community
29
+ ---
30
+
31
+ This is the content of home page. Check [Home Page Docs][default-theme-home] for more details.
32
+
33
+ [default-theme-home]: https://vuejs.press/reference/default-theme/frontmatter.html#home-page
@@ -1,46 +1,46 @@
1
- # Get Started
2
-
3
- This is a normal page, which contains VuePress basics.
4
-
5
- ## Pages
6
-
7
- You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.
8
-
9
- See [routing][] for more details.
10
-
11
- ## Content
12
-
13
- Every markdown file [will be rendered to HTML, then converted to a Vue SFC][content].
14
-
15
- VuePress support basic markdown syntax and [some extensions][synatex-extensions], you can also [use Vue features][vue-feature] in it.
16
-
17
- ## Configuration
18
-
19
- VuePress use a `.vuepress/config.js`(or .ts) file as [site configuration][config], you can use it to config your site.
20
-
21
- For [client side configuration][client-config], you can create `.vuepress/client.js`(or .ts).
22
-
23
- Meanwhile, you can also add configuration per page with [frontmatter][].
24
-
25
- ## Layouts and customization
26
-
27
- Here are common configuration controlling layout of `@vuepress/theme-default`:
28
-
29
- - [navbar][]
30
- - [sidebar][]
31
-
32
- Check [default theme docs][default-theme] for full reference.
33
-
34
- You can [add extra style][style] with `.vuepress/styles/index.scss` file.
35
-
36
- [routing]: https://vuejs.press/guide/page.html#routing
37
- [content]: https://vuejs.press/guide/page.html#content
38
- [synatex-extensions]: https://vuejs.press/guide/markdown.html#syntax-extensions
39
- [vue-feature]: https://vuejs.press/guide/markdown.html#using-vue-in-markdown
40
- [config]: https://vuejs.press/guide/configuration.html#client-config-file
41
- [client-config]: https://vuejs.press/guide/configuration.html#client-config-file
42
- [frontmatter]: https://vuejs.press/guide/page.html#frontmatter
43
- [navbar]: https://vuejs.press/reference/default-theme/config.html#navbar
44
- [sidebar]: https://vuejs.press/reference/default-theme/config.html#sidebar
45
- [default-theme]: https://vuejs.press/reference/default-theme/
46
- [style]: https://vuejs.press/reference/default-theme/styles.html#style-file
1
+ # Get Started
2
+
3
+ This is a normal page, which contains VuePress basics.
4
+
5
+ ## Pages
6
+
7
+ You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.
8
+
9
+ See [routing][] for more details.
10
+
11
+ ## Content
12
+
13
+ Every markdown file [will be rendered to HTML, then converted to a Vue SFC][content].
14
+
15
+ VuePress support basic markdown syntax and [some extensions][synatex-extensions], you can also [use Vue features][vue-feature] in it.
16
+
17
+ ## Configuration
18
+
19
+ VuePress use a `.vuepress/config.js`(or .ts) file as [site configuration][config], you can use it to config your site.
20
+
21
+ For [client side configuration][client-config], you can create `.vuepress/client.js`(or .ts).
22
+
23
+ Meanwhile, you can also add configuration per page with [frontmatter][].
24
+
25
+ ## Layouts and customization
26
+
27
+ Here are common configuration controlling layout of `@vuepress/theme-default`:
28
+
29
+ - [navbar][]
30
+ - [sidebar][]
31
+
32
+ Check [default theme docs][default-theme] for full reference.
33
+
34
+ You can [add extra style][style] with `.vuepress/styles/index.scss` file.
35
+
36
+ [routing]: https://vuejs.press/guide/page.html#routing
37
+ [content]: https://vuejs.press/guide/page.html#content
38
+ [synatex-extensions]: https://vuejs.press/guide/markdown.html#syntax-extensions
39
+ [vue-feature]: https://vuejs.press/guide/markdown.html#using-vue-in-markdown
40
+ [config]: https://vuejs.press/guide/configuration.html#client-config-file
41
+ [client-config]: https://vuejs.press/guide/configuration.html#client-config-file
42
+ [frontmatter]: https://vuejs.press/guide/page.html#frontmatter
43
+ [navbar]: https://vuejs.press/reference/default-theme/config.html#navbar
44
+ [sidebar]: https://vuejs.press/reference/default-theme/config.html#sidebar
45
+ [default-theme]: https://vuejs.press/reference/default-theme/
46
+ [style]: https://vuejs.press/reference/default-theme/styles.html#style-file