valaxy 0.15.10 → 0.15.11-alpha.0
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.
- package/bin/valaxy.cjs +1 -1
- package/bin/valaxy.mjs +1 -1
- package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +1 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +227 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +752 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +31 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +42 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +172 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +1105 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +286 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +627 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +2460 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +1071 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +490 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +1851 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +1444 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +321 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +2625 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +244 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +370 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +3684 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +969 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +517 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +4159 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +676 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +768 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +527 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +424 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +563 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +3294 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +202 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +549 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +4161 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +1170 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +1564 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +6119 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +180 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +5895 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +278 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +752 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +1605 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +4 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +477 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +286 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +3742 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +548 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +574 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +172 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +669 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +619 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +830 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +350 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +1131 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +4963 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +675 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +33 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +6239 -0
- package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +1 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +227 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +752 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +31 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +42 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +172 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +1105 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +286 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +627 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +2460 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +1071 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +490 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +1851 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +1444 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +321 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +2625 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +244 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +370 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +3684 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +969 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +517 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +4159 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +676 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +768 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +527 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +424 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +563 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +3294 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +202 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +549 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +4161 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +1170 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +1564 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +6119 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +180 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +5895 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +278 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +752 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +1605 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +4 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +477 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +286 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +3742 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +548 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +574 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +172 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +669 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +619 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +830 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +350 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +1131 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +4963 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +675 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +33 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +6239 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
- package/client/App.vue +1 -1
- package/client/components/AppLink.vue +2 -2
- package/client/components/ValaxyMd.vue +1 -1
- package/client/components/ValaxyOverlay.vue +2 -2
- package/client/components/ValaxyPagination.vue +6 -6
- package/client/components/debug/ValaxyDevtools.vue +6 -0
- package/client/composables/dark.ts +39 -0
- package/client/layouts/404.vue +1 -1
- package/client/layouts/layout.vue +2 -2
- package/client/locales/zh-CN.yml +1 -1
- package/client/pages/[...all].vue +2 -0
- package/client/styles/common/transition.scss +1 -0
- package/client/styles/common/view-transition.css +21 -0
- package/dist/chunk-3EJGKTUH.mjs +130 -0
- package/dist/chunk-RDNVTVQ5.cjs +129 -0
- package/dist/{config-29a16f62.d.ts → config-e5704a2c.d.ts} +223 -1
- package/dist/node/cli/index.cjs +1 -0
- package/dist/node/cli/index.mjs +2 -0
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +14 -2
- package/dist/node/index.d.ts +14 -2
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.d.cts +3 -220
- package/dist/types/index.d.ts +3 -220
- package/dist/types/index.mjs +1 -1
- package/package.json +19 -18
- package/types/config.ts +6 -0
- package/LICENSE +0 -21
- package/dist/chunk-2EVEFEO4.mjs +0 -130
- package/dist/chunk-BYK2L2MY.cjs +0 -129
- package/dist/node/cli.cjs +0 -1
- package/dist/node/cli.mjs +0 -2
- /package/dist/node/{cli.d.cts → cli/index.d.cts} +0 -0
- /package/dist/node/{cli.d.ts → cli/index.d.ts} +0 -0
|
@@ -0,0 +1,1564 @@
|
|
|
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":"Commands","description":"","frontmatter":{"title":"Commands","title_zh-CN":"命令行","categories":["guide"],"top":99},"headers":[{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[{"level":3,"title":"局部使用","slug":"局部使用","link":"#局部使用","children":[]},{"level":3,"title":"Local","slug":"local","link":"#local","children":[]},{"level":3,"title":"全局安装","slug":"全局安装","link":"#全局安装","children":[]},{"level":3,"title":"Global","slug":"global","link":"#global","children":[]}]},{"level":2,"title":"常用命令","slug":"常用命令","link":"#常用命令","children":[]},{"level":2,"title":"Useful Commands","slug":"useful-commands","link":"#useful-commands","children":[]},{"level":2,"title":"文章","slug":"文章","link":"#文章","children":[]},{"level":2,"title":"Posts","slug":"posts","link":"#posts","children":[]},{"level":2,"title":"FAQ","slug":"faq","link":"#faq","children":[{"level":3,"title":"控制台开发时日志太少,构建时日志太多?","slug":"控制台开发时日志太少-构建时日志太多","link":"#控制台开发时日志太少-构建时日志太多","children":[]},{"level":3,"title":"More logs when developing and less when building?","slug":"more-logs-when-developing-and-less-when-building","link":"#more-logs-when-developing-and-less-when-building","children":[]}]}],"relativePath":"pages/guide/commands/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\commands\\\\index.md","lastUpdated":1697975166000}');
|
|
25
|
+
const data = JSON.parse('{"title":"Commands","description":"","frontmatter":{"title":"Commands","title_zh-CN":"命令行","categories":["guide"],"top":99},"headers":[{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[{"level":3,"title":"局部使用","slug":"局部使用","link":"#局部使用","children":[]},{"level":3,"title":"Local","slug":"local","link":"#local","children":[]},{"level":3,"title":"全局安装","slug":"全局安装","link":"#全局安装","children":[]},{"level":3,"title":"Global","slug":"global","link":"#global","children":[]}]},{"level":2,"title":"常用命令","slug":"常用命令","link":"#常用命令","children":[]},{"level":2,"title":"Useful Commands","slug":"useful-commands","link":"#useful-commands","children":[]},{"level":2,"title":"文章","slug":"文章","link":"#文章","children":[]},{"level":2,"title":"Posts","slug":"posts","link":"#posts","children":[]},{"level":2,"title":"FAQ","slug":"faq","link":"#faq","children":[{"level":3,"title":"控制台开发时日志太少,构建时日志太多?","slug":"控制台开发时日志太少-构建时日志太多","link":"#控制台开发时日志太少-构建时日志太多","children":[]},{"level":3,"title":"More logs when developing and less when building?","slug":"more-logs-when-developing-and-less-when-building","link":"#more-logs-when-developing-and-less-when-building","children":[]}]}],"relativePath":"pages/guide/commands/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\commands\\\\index.md","lastUpdated":1697975166000}');
|
|
26
|
+
const _sfc_main = {
|
|
27
|
+
name: "pages/guide/commands/index.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(`<div lang="zh-CN"${_scopeId}><p${_scopeId}>Valaxy 内置了辅助命令行,你可使用 <code${_scopeId}>valaxy</code> 或缩写 <code${_scopeId}>vala</code> 来执行以下命令。</p></div><div lang="en"${_scopeId}><p${_scopeId}>Valaxy has a commandline tool. You can use <code${_scopeId}>valaxy</code> or <code${_scopeId}>vala</code> to execute the following commands.</p></div><div class="language-bash"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>bash</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [args]</span></span>
|
|
47
|
+
<span class="line"${_scopeId}></span>
|
|
48
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Commands:</span></span>
|
|
49
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [root] Start a local server </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>for</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> Valaxy [default]</span></span>
|
|
50
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>build</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [root] build your blog to static content</span></span>
|
|
51
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>rss</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [root] generate rss feed</span></span>
|
|
52
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>new</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}><</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>titl</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>e</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>></span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>Draft</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>a</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>new</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>post</span></span>
|
|
53
|
+
<span class="line"${_scopeId}></span>
|
|
54
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Positionals:</span></span>
|
|
55
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>root</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>root</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>folder</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>of</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>your</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>source</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>files</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [string] [default: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"."</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>]</span></span>
|
|
56
|
+
<span class="line"${_scopeId}></span>
|
|
57
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Options:</span></span>
|
|
58
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>-p,</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>--port</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>port</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [number]</span></span>
|
|
59
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>-o,</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>--open</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>open</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>in</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>browser</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [boolean] [default: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>false</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>]</span></span>
|
|
60
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>--remote</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>listen</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>public</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>host</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>and</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>enable</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>remote</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>control</span></span>
|
|
61
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [boolean] [default: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>]</span></span>
|
|
62
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>--log</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>log</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>level</span></span>
|
|
63
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [string] [choices: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"error"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"warn"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"info"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"silent"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>] [default: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"info"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>]</span></span>
|
|
64
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>-h,</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>--help</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>Show</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>help</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [boolean]</span></span>
|
|
65
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>-v,</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>--version</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>Show</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>version</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>number</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [boolean]</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [args]</span></span>
|
|
66
|
+
<span class="line"${_scopeId}></span>
|
|
67
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Commands:</span></span>
|
|
68
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [root] Start a local server </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>for</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> Valaxy [default]</span></span>
|
|
69
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>build</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [root] build your blog to static content</span></span>
|
|
70
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>rss</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [root] generate rss feed</span></span>
|
|
71
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>valaxy</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>new</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}><</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>titl</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>e</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>></span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>Draft</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>a</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>new</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>post</span></span>
|
|
72
|
+
<span class="line"${_scopeId}></span>
|
|
73
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Positionals:</span></span>
|
|
74
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>root</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>root</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>folder</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>of</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>your</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>source</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>files</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [string] [default: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"."</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>]</span></span>
|
|
75
|
+
<span class="line"${_scopeId}></span>
|
|
76
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Options:</span></span>
|
|
77
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>-p,</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>--port</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>port</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [number]</span></span>
|
|
78
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>-o,</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>--open</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>open</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>in</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>browser</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [boolean] [default: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>false</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>]</span></span>
|
|
79
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>--remote</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>listen</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>public</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>host</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>and</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>enable</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>remote</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>control</span></span>
|
|
80
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [boolean] [default: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>]</span></span>
|
|
81
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>--log</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>log</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>level</span></span>
|
|
82
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [string] [choices: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"error"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"warn"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"info"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>, </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"silent"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>] [default: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"info"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>]</span></span>
|
|
83
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>-h,</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>--help</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>Show</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>help</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [boolean]</span></span>
|
|
84
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>-v,</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>--version</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>Show</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>version</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>number</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [boolean]</span></span></code></pre></div><h2 lang="zh-CN" id="使用" tabindex="-1"${_scopeId}>使用 `);
|
|
85
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
86
|
+
class: "header-anchor",
|
|
87
|
+
href: "#使用",
|
|
88
|
+
"aria-label": 'Permalink to "使用 {lang="zh-CN"}"'
|
|
89
|
+
}, {
|
|
90
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
91
|
+
if (_push3) {
|
|
92
|
+
_push3(``);
|
|
93
|
+
} else {
|
|
94
|
+
return [
|
|
95
|
+
createTextVNode("")
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
}),
|
|
99
|
+
_: 1
|
|
100
|
+
/* STABLE */
|
|
101
|
+
}, _parent2, _scopeId));
|
|
102
|
+
_push2(`</h2><h2 lang="en" id="usage" tabindex="-1"${_scopeId}>Usage `);
|
|
103
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
104
|
+
class: "header-anchor",
|
|
105
|
+
href: "#usage",
|
|
106
|
+
"aria-label": 'Permalink to "Usage {lang="en"}"'
|
|
107
|
+
}, {
|
|
108
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
109
|
+
if (_push3) {
|
|
110
|
+
_push3(``);
|
|
111
|
+
} else {
|
|
112
|
+
return [
|
|
113
|
+
createTextVNode("")
|
|
114
|
+
];
|
|
115
|
+
}
|
|
116
|
+
}),
|
|
117
|
+
_: 1
|
|
118
|
+
/* STABLE */
|
|
119
|
+
}, _parent2, _scopeId));
|
|
120
|
+
_push2(`</h2><h3 lang="zh-CN" id="局部使用" tabindex="-1"${_scopeId}>局部使用 `);
|
|
121
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
122
|
+
class: "header-anchor",
|
|
123
|
+
href: "#局部使用",
|
|
124
|
+
"aria-label": 'Permalink to "局部使用 {lang="zh-CN"}"'
|
|
125
|
+
}, {
|
|
126
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
127
|
+
if (_push3) {
|
|
128
|
+
_push3(``);
|
|
129
|
+
} else {
|
|
130
|
+
return [
|
|
131
|
+
createTextVNode("")
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
}),
|
|
135
|
+
_: 1
|
|
136
|
+
/* STABLE */
|
|
137
|
+
}, _parent2, _scopeId));
|
|
138
|
+
_push2(`</h3><h3 lang="en" id="local" tabindex="-1"${_scopeId}>Local `);
|
|
139
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
140
|
+
class: "header-anchor",
|
|
141
|
+
href: "#local",
|
|
142
|
+
"aria-label": 'Permalink to "Local {lang="en"}"'
|
|
143
|
+
}, {
|
|
144
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
145
|
+
if (_push3) {
|
|
146
|
+
_push3(``);
|
|
147
|
+
} else {
|
|
148
|
+
return [
|
|
149
|
+
createTextVNode("")
|
|
150
|
+
];
|
|
151
|
+
}
|
|
152
|
+
}),
|
|
153
|
+
_: 1
|
|
154
|
+
/* STABLE */
|
|
155
|
+
}, _parent2, _scopeId));
|
|
156
|
+
_push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>你可以在项目的 <code${_scopeId}>package.json</code> 中配置快捷脚本。(<strong${_scopeId}>推荐</strong>)</p></div><div lang="en"${_scopeId}><p${_scopeId}>You can configure shortcut scripts in <code${_scopeId}>package.json</code>. (<strong${_scopeId}>Suggested</strong>)</p></div><div class="language-json"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>json</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>{</span></span>
|
|
157
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"scripts"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: {</span></span>
|
|
158
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"build"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"npm run build:ssg"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
|
|
159
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"build:spa"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"valaxy build"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
|
|
160
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"build:ssg"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"valaxy build --ssg"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
|
|
161
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"dev"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"valaxy ."</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
|
|
162
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"new"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"valaxy new"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
|
|
163
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>"rss"</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>"valaxy rss"</span></span>
|
|
164
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }</span></span>
|
|
165
|
+
<span class="line"${_scopeId}><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}>{</span></span>
|
|
166
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"scripts"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: {</span></span>
|
|
167
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"build"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"npm run build:ssg"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
|
|
168
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"build:spa"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"valaxy build"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
|
|
169
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"build:ssg"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"valaxy build --ssg"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
|
|
170
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"dev"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"valaxy ."</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
|
|
171
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"new"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"valaxy new"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
|
|
172
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>"rss"</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>"valaxy rss"</span></span>
|
|
173
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }</span></span>
|
|
174
|
+
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}</span></span></code></pre></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>譬如通过 <code${_scopeId}>npm run dev</code> 启动项目,通过 <code${_scopeId}>npm run build</code> 可以在构建生成 ssg 站点后,再构建 RSS 源。 通过 <code${_scopeId}>pnpm new post-title</code> 在 <code${_scopeId}>posts</code> 文件夹下新建一个名为 <code${_scopeId}>post-title</code> 的文章。</p></div><div lang="en"${_scopeId}><p${_scopeId}>For example, you can use <code${_scopeId}>npm run dev</code> to run the project, use <code${_scopeId}>npm run build</code> to build SSG site followed by building RSS source, and use <code${_scopeId}>pnpm new post-title</code> to create a new post called <code${_scopeId}>post-title</code> under the <code${_scopeId}>posts</code> folder.</p></div><h3 lang="zh-CN" id="全局安装" tabindex="-1"${_scopeId}>全局安装 `);
|
|
175
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
176
|
+
class: "header-anchor",
|
|
177
|
+
href: "#全局安装",
|
|
178
|
+
"aria-label": 'Permalink to "全局安装 {lang="zh-CN"}"'
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
181
|
+
if (_push3) {
|
|
182
|
+
_push3(``);
|
|
183
|
+
} else {
|
|
184
|
+
return [
|
|
185
|
+
createTextVNode("")
|
|
186
|
+
];
|
|
187
|
+
}
|
|
188
|
+
}),
|
|
189
|
+
_: 1
|
|
190
|
+
/* STABLE */
|
|
191
|
+
}, _parent2, _scopeId));
|
|
192
|
+
_push2(`</h3><h3 lang="en" id="global" tabindex="-1"${_scopeId}>Global `);
|
|
193
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
194
|
+
class: "header-anchor",
|
|
195
|
+
href: "#global",
|
|
196
|
+
"aria-label": 'Permalink to "Global {lang="en"}"'
|
|
197
|
+
}, {
|
|
198
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
199
|
+
if (_push3) {
|
|
200
|
+
_push3(``);
|
|
201
|
+
} else {
|
|
202
|
+
return [
|
|
203
|
+
createTextVNode("")
|
|
204
|
+
];
|
|
205
|
+
}
|
|
206
|
+
}),
|
|
207
|
+
_: 1
|
|
208
|
+
/* STABLE */
|
|
209
|
+
}, _parent2, _scopeId));
|
|
210
|
+
_push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>你也可以全局安装 valaxy 以在全局使用 <code${_scopeId}>valaxy</code> 命令。(<strong${_scopeId}>非必须</strong>)</p></div><div lang="en"${_scopeId}><p${_scopeId}>You can also install Valaxy globally to use <code${_scopeId}>valaxy</code> command globally. (<strong${_scopeId}>Optional</strong>)</p></div><div class="language-bash"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>bash</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>pnpm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>add</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>-g</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>valaxy</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>pnpm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>add</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>-g</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy</span></span></code></pre></div><h2 lang="zh-CN" id="常用命令" tabindex="-1"${_scopeId}>常用命令 `);
|
|
211
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
212
|
+
class: "header-anchor",
|
|
213
|
+
href: "#常用命令",
|
|
214
|
+
"aria-label": 'Permalink to "常用命令 {lang="zh-CN"}"'
|
|
215
|
+
}, {
|
|
216
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
217
|
+
if (_push3) {
|
|
218
|
+
_push3(``);
|
|
219
|
+
} else {
|
|
220
|
+
return [
|
|
221
|
+
createTextVNode("")
|
|
222
|
+
];
|
|
223
|
+
}
|
|
224
|
+
}),
|
|
225
|
+
_: 1
|
|
226
|
+
/* STABLE */
|
|
227
|
+
}, _parent2, _scopeId));
|
|
228
|
+
_push2(`</h2><h2 lang="en" id="useful-commands" tabindex="-1"${_scopeId}>Useful Commands `);
|
|
229
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
230
|
+
class: "header-anchor",
|
|
231
|
+
href: "#useful-commands",
|
|
232
|
+
"aria-label": 'Permalink to "Useful Commands {lang="en"}"'
|
|
233
|
+
}, {
|
|
234
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
235
|
+
if (_push3) {
|
|
236
|
+
_push3(``);
|
|
237
|
+
} else {
|
|
238
|
+
return [
|
|
239
|
+
createTextVNode("")
|
|
240
|
+
];
|
|
241
|
+
}
|
|
242
|
+
}),
|
|
243
|
+
_: 1
|
|
244
|
+
/* STABLE */
|
|
245
|
+
}, _parent2, _scopeId));
|
|
246
|
+
_push2(`</h2><div lang="zh-CN"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>valaxy .</code>: 启动 Valaxy,默认目录为当前目录(<code${_scopeId}>.</code> 可不写)</li><li${_scopeId}><code${_scopeId}>valaxy rss</code>: 自动生成 RSS</li><li${_scopeId}><code${_scopeId}>valaxy build</code>: 默认采用 Vite 构建 SPA 应用</li><li${_scopeId}><code${_scopeId}>valaxy build --ssg</code>: 使用 vite-ssg 构建静态页面站点(SEO 友好,推荐)</li></ul></div><div lang="en"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>valaxy .</code>: Start Valaxy. The default directory is current directory. (<code${_scopeId}>.</code> is optional)</li><li${_scopeId}><code${_scopeId}>valaxy rss</code>: Generate RSS</li><li${_scopeId}><code${_scopeId}>valaxy build</code>: Use Vite to build SPA app by default</li><li${_scopeId}><code${_scopeId}>valaxy build --ssg</code>: Use vite-ssg to build static web page (SEO-friendly, recommended)</li></ul></div><h2 lang="zh-CN" id="文章" tabindex="-1"${_scopeId}>文章 `);
|
|
247
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
248
|
+
class: "header-anchor",
|
|
249
|
+
href: "#文章",
|
|
250
|
+
"aria-label": 'Permalink to "文章 {lang="zh-CN"}"'
|
|
251
|
+
}, {
|
|
252
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
253
|
+
if (_push3) {
|
|
254
|
+
_push3(``);
|
|
255
|
+
} else {
|
|
256
|
+
return [
|
|
257
|
+
createTextVNode("")
|
|
258
|
+
];
|
|
259
|
+
}
|
|
260
|
+
}),
|
|
261
|
+
_: 1
|
|
262
|
+
/* STABLE */
|
|
263
|
+
}, _parent2, _scopeId));
|
|
264
|
+
_push2(`</h2><h2 lang="en" id="posts" tabindex="-1"${_scopeId}>Posts `);
|
|
265
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
266
|
+
class: "header-anchor",
|
|
267
|
+
href: "#posts",
|
|
268
|
+
"aria-label": 'Permalink to "Posts {lang="en"}"'
|
|
269
|
+
}, {
|
|
270
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
271
|
+
if (_push3) {
|
|
272
|
+
_push3(``);
|
|
273
|
+
} else {
|
|
274
|
+
return [
|
|
275
|
+
createTextVNode("")
|
|
276
|
+
];
|
|
277
|
+
}
|
|
278
|
+
}),
|
|
279
|
+
_: 1
|
|
280
|
+
/* STABLE */
|
|
281
|
+
}, _parent2, _scopeId));
|
|
282
|
+
_push2(`</h2><div lang="zh-CN"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>valaxy new <title></code>: 在 <code${_scopeId}>pages/posts</code> 目录下新建标题为 <code${_scopeId}>title</code> 的帖子(.md)</li></ul><p${_scopeId}>譬如,<code${_scopeId}>valaxy new your-first-post</code>,将会在 <code${_scopeId}>pages/posts</code> 下自动新建 <code${_scopeId}>your-first-post.md</code> 文件,并附带日期。</p><blockquote${_scopeId}><p${_scopeId}>你觉得还可以有其他更常用、更好用的命令?没问题,尽管来 `);
|
|
283
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
284
|
+
href: "https://github.com/YunYouJun/valaxy/issues",
|
|
285
|
+
target: "_blank",
|
|
286
|
+
rel: "noreferrer"
|
|
287
|
+
}, {
|
|
288
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
289
|
+
if (_push3) {
|
|
290
|
+
_push3(`Issues`);
|
|
291
|
+
} else {
|
|
292
|
+
return [
|
|
293
|
+
createTextVNode("Issues")
|
|
294
|
+
];
|
|
295
|
+
}
|
|
296
|
+
}),
|
|
297
|
+
_: 1
|
|
298
|
+
/* STABLE */
|
|
299
|
+
}, _parent2, _scopeId));
|
|
300
|
+
_push2(` 反馈吧!</p></blockquote></div><div lang="en"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>valaxy new <title></code>: Create a post (.md) titled <code${_scopeId}>title</code> under the directory <code${_scopeId}>pages/posts</code>.</li></ul><p${_scopeId}>For example, <code${_scopeId}>valaxy new your-first-post</code> will create a file <code${_scopeId}>your-first-post.md</code> under <code${_scopeId}>pages/posts</code>, and update the date.</p><blockquote${_scopeId}><p${_scopeId}>Do you think you have other more useful or better commands? That's great! Please report that by creating an issue at `);
|
|
301
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
302
|
+
href: "https://github.com/YunYouJun/valaxy/issues",
|
|
303
|
+
target: "_blank",
|
|
304
|
+
rel: "noreferrer"
|
|
305
|
+
}, {
|
|
306
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
307
|
+
if (_push3) {
|
|
308
|
+
_push3(`GitHub Issues`);
|
|
309
|
+
} else {
|
|
310
|
+
return [
|
|
311
|
+
createTextVNode("GitHub Issues")
|
|
312
|
+
];
|
|
313
|
+
}
|
|
314
|
+
}),
|
|
315
|
+
_: 1
|
|
316
|
+
/* STABLE */
|
|
317
|
+
}, _parent2, _scopeId));
|
|
318
|
+
_push2(`!</p></blockquote></div><ul${_scopeId}><li${_scopeId}>`);
|
|
319
|
+
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/custom/templates" }, {
|
|
320
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
321
|
+
if (_push3) {
|
|
322
|
+
_push3(`自定义文章模板`);
|
|
323
|
+
} else {
|
|
324
|
+
return [
|
|
325
|
+
createTextVNode("自定义文章模板")
|
|
326
|
+
];
|
|
327
|
+
}
|
|
328
|
+
}),
|
|
329
|
+
_: 1
|
|
330
|
+
/* STABLE */
|
|
331
|
+
}, _parent2, _scopeId));
|
|
332
|
+
_push2(`</li></ul><h2 id="faq" tabindex="-1"${_scopeId}>FAQ `);
|
|
333
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
334
|
+
class: "header-anchor",
|
|
335
|
+
href: "#faq",
|
|
336
|
+
"aria-label": 'Permalink to "FAQ"'
|
|
337
|
+
}, {
|
|
338
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
339
|
+
if (_push3) {
|
|
340
|
+
_push3(``);
|
|
341
|
+
} else {
|
|
342
|
+
return [
|
|
343
|
+
createTextVNode("")
|
|
344
|
+
];
|
|
345
|
+
}
|
|
346
|
+
}),
|
|
347
|
+
_: 1
|
|
348
|
+
/* STABLE */
|
|
349
|
+
}, _parent2, _scopeId));
|
|
350
|
+
_push2(`</h2><h3 lang="zh-CN" id="控制台开发时日志太少-构建时日志太多" tabindex="-1"${_scopeId}>控制台开发时日志太少,构建时日志太多? `);
|
|
351
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
352
|
+
class: "header-anchor",
|
|
353
|
+
href: "#控制台开发时日志太少-构建时日志太多",
|
|
354
|
+
"aria-label": 'Permalink to "控制台开发时日志太少,构建时日志太多? {lang="zh-CN"}"'
|
|
355
|
+
}, {
|
|
356
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
357
|
+
if (_push3) {
|
|
358
|
+
_push3(``);
|
|
359
|
+
} else {
|
|
360
|
+
return [
|
|
361
|
+
createTextVNode("")
|
|
362
|
+
];
|
|
363
|
+
}
|
|
364
|
+
}),
|
|
365
|
+
_: 1
|
|
366
|
+
/* STABLE */
|
|
367
|
+
}, _parent2, _scopeId));
|
|
368
|
+
_push2(`</h3><h3 lang="en" id="more-logs-when-developing-and-less-when-building" tabindex="-1"${_scopeId}>More logs when developing and less when building? `);
|
|
369
|
+
_push2(ssrRenderComponent(_component_AppLink, {
|
|
370
|
+
class: "header-anchor",
|
|
371
|
+
href: "#more-logs-when-developing-and-less-when-building",
|
|
372
|
+
"aria-label": 'Permalink to "More logs when developing and less when building? {lang="en"}"'
|
|
373
|
+
}, {
|
|
374
|
+
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
375
|
+
if (_push3) {
|
|
376
|
+
_push3(``);
|
|
377
|
+
} else {
|
|
378
|
+
return [
|
|
379
|
+
createTextVNode("")
|
|
380
|
+
];
|
|
381
|
+
}
|
|
382
|
+
}),
|
|
383
|
+
_: 1
|
|
384
|
+
/* STABLE */
|
|
385
|
+
}, _parent2, _scopeId));
|
|
386
|
+
_push2(`</h3><div lang="zh-CN"${_scopeId}><ul${_scopeId}><li${_scopeId}>开发与(<code${_scopeId}>valaxy</code>)构建(<code${_scopeId}>valaxy build</code>)时默认日志等级为 <code${_scopeId}>info</code></li><li${_scopeId}>可选项:['error', 'warn', 'info', 'silent']</li></ul><p${_scopeId}>您可以通过设置日志等级控制。</p><p${_scopeId}>譬如 <code${_scopeId}>valaxy build --log=warn</code>。</p></div><div lang="en"${_scopeId}><ul${_scopeId}><li${_scopeId}>The default log level is <code${_scopeId}>info</code> when developing (<code${_scopeId}>valaxy</code>) and building (<code${_scopeId}>valaxy build</code>).</li><li${_scopeId}>Options: ['error', 'warn', 'info', 'silent']</li></ul><p${_scopeId}>You can use arguments to set the log level.</p><p${_scopeId}>For example, <code${_scopeId}>valaxy build --log=info</code>.</p></div>`);
|
|
387
|
+
} else {
|
|
388
|
+
return [
|
|
389
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
390
|
+
createVNode("p", null, [
|
|
391
|
+
createTextVNode("Valaxy 内置了辅助命令行,你可使用 "),
|
|
392
|
+
createVNode("code", null, "valaxy"),
|
|
393
|
+
createTextVNode(" 或缩写 "),
|
|
394
|
+
createVNode("code", null, "vala"),
|
|
395
|
+
createTextVNode(" 来执行以下命令。")
|
|
396
|
+
])
|
|
397
|
+
]),
|
|
398
|
+
createVNode("div", { lang: "en" }, [
|
|
399
|
+
createVNode("p", null, [
|
|
400
|
+
createTextVNode("Valaxy has a commandline tool. You can use "),
|
|
401
|
+
createVNode("code", null, "valaxy"),
|
|
402
|
+
createTextVNode(" or "),
|
|
403
|
+
createVNode("code", null, "vala"),
|
|
404
|
+
createTextVNode(" to execute the following commands.")
|
|
405
|
+
])
|
|
406
|
+
]),
|
|
407
|
+
createVNode("div", { class: "language-bash" }, [
|
|
408
|
+
createVNode("button", {
|
|
409
|
+
title: "Copy Code",
|
|
410
|
+
class: "copy"
|
|
411
|
+
}),
|
|
412
|
+
createVNode("span", { class: "lang" }, "bash"),
|
|
413
|
+
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
414
|
+
createVNode("code", null, [
|
|
415
|
+
createVNode("span", { class: "line" }, [
|
|
416
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "valaxy"),
|
|
417
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [args]")
|
|
418
|
+
]),
|
|
419
|
+
createTextVNode("\n"),
|
|
420
|
+
createVNode("span", { class: "line" }),
|
|
421
|
+
createTextVNode("\n"),
|
|
422
|
+
createVNode("span", { class: "line" }, [
|
|
423
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "Commands:")
|
|
424
|
+
]),
|
|
425
|
+
createTextVNode("\n"),
|
|
426
|
+
createVNode("span", { class: "line" }, [
|
|
427
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
428
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "valaxy"),
|
|
429
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [root] Start a local server "),
|
|
430
|
+
createVNode("span", { style: { "color": "#F97583" } }, "for"),
|
|
431
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " Valaxy [default]")
|
|
432
|
+
]),
|
|
433
|
+
createTextVNode("\n"),
|
|
434
|
+
createVNode("span", { class: "line" }, [
|
|
435
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
436
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "valaxy"),
|
|
437
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
438
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "build"),
|
|
439
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [root] build your blog to static content")
|
|
440
|
+
]),
|
|
441
|
+
createTextVNode("\n"),
|
|
442
|
+
createVNode("span", { class: "line" }, [
|
|
443
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
444
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "valaxy"),
|
|
445
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
446
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "rss"),
|
|
447
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [root] generate rss feed")
|
|
448
|
+
]),
|
|
449
|
+
createTextVNode("\n"),
|
|
450
|
+
createVNode("span", { class: "line" }, [
|
|
451
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
452
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "valaxy"),
|
|
453
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
454
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "new"),
|
|
455
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
456
|
+
createVNode("span", { style: { "color": "#F97583" } }, "<"),
|
|
457
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "titl"),
|
|
458
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "e"),
|
|
459
|
+
createVNode("span", { style: { "color": "#F97583" } }, ">"),
|
|
460
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
461
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "Draft"),
|
|
462
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
463
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "a"),
|
|
464
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
465
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "new"),
|
|
466
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
467
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "post")
|
|
468
|
+
]),
|
|
469
|
+
createTextVNode("\n"),
|
|
470
|
+
createVNode("span", { class: "line" }),
|
|
471
|
+
createTextVNode("\n"),
|
|
472
|
+
createVNode("span", { class: "line" }, [
|
|
473
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "Positionals:")
|
|
474
|
+
]),
|
|
475
|
+
createTextVNode("\n"),
|
|
476
|
+
createVNode("span", { class: "line" }, [
|
|
477
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
478
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "root"),
|
|
479
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
480
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "root"),
|
|
481
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
482
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "folder"),
|
|
483
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
484
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "of"),
|
|
485
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
486
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "your"),
|
|
487
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
488
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "source"),
|
|
489
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
490
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "files"),
|
|
491
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [string] [default: "),
|
|
492
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"."'),
|
|
493
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "]")
|
|
494
|
+
]),
|
|
495
|
+
createTextVNode("\n"),
|
|
496
|
+
createVNode("span", { class: "line" }),
|
|
497
|
+
createTextVNode("\n"),
|
|
498
|
+
createVNode("span", { class: "line" }, [
|
|
499
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "Options:")
|
|
500
|
+
]),
|
|
501
|
+
createTextVNode("\n"),
|
|
502
|
+
createVNode("span", { class: "line" }, [
|
|
503
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
504
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "-p,"),
|
|
505
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
506
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "--port"),
|
|
507
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
508
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "port"),
|
|
509
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [number]")
|
|
510
|
+
]),
|
|
511
|
+
createTextVNode("\n"),
|
|
512
|
+
createVNode("span", { class: "line" }, [
|
|
513
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
514
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "-o,"),
|
|
515
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
516
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "--open"),
|
|
517
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
518
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "open"),
|
|
519
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
520
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "in"),
|
|
521
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
522
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "browser"),
|
|
523
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [boolean] [default: "),
|
|
524
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "false"),
|
|
525
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "]")
|
|
526
|
+
]),
|
|
527
|
+
createTextVNode("\n"),
|
|
528
|
+
createVNode("span", { class: "line" }, [
|
|
529
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
530
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "--remote"),
|
|
531
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
532
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "listen"),
|
|
533
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
534
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "public"),
|
|
535
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
536
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "host"),
|
|
537
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
538
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "and"),
|
|
539
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
540
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "enable"),
|
|
541
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
542
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "remote"),
|
|
543
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
544
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "control")
|
|
545
|
+
]),
|
|
546
|
+
createTextVNode("\n"),
|
|
547
|
+
createVNode("span", { class: "line" }, [
|
|
548
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [boolean] [default: "),
|
|
549
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
|
|
550
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "]")
|
|
551
|
+
]),
|
|
552
|
+
createTextVNode("\n"),
|
|
553
|
+
createVNode("span", { class: "line" }, [
|
|
554
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
555
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "--log"),
|
|
556
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
557
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "log"),
|
|
558
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
559
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "level")
|
|
560
|
+
]),
|
|
561
|
+
createTextVNode("\n"),
|
|
562
|
+
createVNode("span", { class: "line" }, [
|
|
563
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [string] [choices: "),
|
|
564
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"error"'),
|
|
565
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ", "),
|
|
566
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"warn"'),
|
|
567
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ", "),
|
|
568
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"info"'),
|
|
569
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ", "),
|
|
570
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"silent"'),
|
|
571
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "] [default: "),
|
|
572
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"info"'),
|
|
573
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "]")
|
|
574
|
+
]),
|
|
575
|
+
createTextVNode("\n"),
|
|
576
|
+
createVNode("span", { class: "line" }, [
|
|
577
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
578
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "-h,"),
|
|
579
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
580
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "--help"),
|
|
581
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
582
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "Show"),
|
|
583
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
584
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "help"),
|
|
585
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [boolean]")
|
|
586
|
+
]),
|
|
587
|
+
createTextVNode("\n"),
|
|
588
|
+
createVNode("span", { class: "line" }, [
|
|
589
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
590
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "-v,"),
|
|
591
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
592
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "--version"),
|
|
593
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
594
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "Show"),
|
|
595
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
596
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "version"),
|
|
597
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
598
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "number"),
|
|
599
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " [boolean]")
|
|
600
|
+
])
|
|
601
|
+
])
|
|
602
|
+
]),
|
|
603
|
+
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
604
|
+
createVNode("code", null, [
|
|
605
|
+
createVNode("span", { class: "line" }, [
|
|
606
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "valaxy"),
|
|
607
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [args]")
|
|
608
|
+
]),
|
|
609
|
+
createTextVNode("\n"),
|
|
610
|
+
createVNode("span", { class: "line" }),
|
|
611
|
+
createTextVNode("\n"),
|
|
612
|
+
createVNode("span", { class: "line" }, [
|
|
613
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "Commands:")
|
|
614
|
+
]),
|
|
615
|
+
createTextVNode("\n"),
|
|
616
|
+
createVNode("span", { class: "line" }, [
|
|
617
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
618
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "valaxy"),
|
|
619
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [root] Start a local server "),
|
|
620
|
+
createVNode("span", { style: { "color": "#D73A49" } }, "for"),
|
|
621
|
+
createVNode("span", { style: { "color": "#24292E" } }, " Valaxy [default]")
|
|
622
|
+
]),
|
|
623
|
+
createTextVNode("\n"),
|
|
624
|
+
createVNode("span", { class: "line" }, [
|
|
625
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
626
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "valaxy"),
|
|
627
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
628
|
+
createVNode("span", { style: { "color": "#032F62" } }, "build"),
|
|
629
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [root] build your blog to static content")
|
|
630
|
+
]),
|
|
631
|
+
createTextVNode("\n"),
|
|
632
|
+
createVNode("span", { class: "line" }, [
|
|
633
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
634
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "valaxy"),
|
|
635
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
636
|
+
createVNode("span", { style: { "color": "#032F62" } }, "rss"),
|
|
637
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [root] generate rss feed")
|
|
638
|
+
]),
|
|
639
|
+
createTextVNode("\n"),
|
|
640
|
+
createVNode("span", { class: "line" }, [
|
|
641
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
642
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "valaxy"),
|
|
643
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
644
|
+
createVNode("span", { style: { "color": "#032F62" } }, "new"),
|
|
645
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
646
|
+
createVNode("span", { style: { "color": "#D73A49" } }, "<"),
|
|
647
|
+
createVNode("span", { style: { "color": "#032F62" } }, "titl"),
|
|
648
|
+
createVNode("span", { style: { "color": "#24292E" } }, "e"),
|
|
649
|
+
createVNode("span", { style: { "color": "#D73A49" } }, ">"),
|
|
650
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
651
|
+
createVNode("span", { style: { "color": "#032F62" } }, "Draft"),
|
|
652
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
653
|
+
createVNode("span", { style: { "color": "#032F62" } }, "a"),
|
|
654
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
655
|
+
createVNode("span", { style: { "color": "#032F62" } }, "new"),
|
|
656
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
657
|
+
createVNode("span", { style: { "color": "#032F62" } }, "post")
|
|
658
|
+
]),
|
|
659
|
+
createTextVNode("\n"),
|
|
660
|
+
createVNode("span", { class: "line" }),
|
|
661
|
+
createTextVNode("\n"),
|
|
662
|
+
createVNode("span", { class: "line" }, [
|
|
663
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "Positionals:")
|
|
664
|
+
]),
|
|
665
|
+
createTextVNode("\n"),
|
|
666
|
+
createVNode("span", { class: "line" }, [
|
|
667
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
668
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "root"),
|
|
669
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
670
|
+
createVNode("span", { style: { "color": "#032F62" } }, "root"),
|
|
671
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
672
|
+
createVNode("span", { style: { "color": "#032F62" } }, "folder"),
|
|
673
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
674
|
+
createVNode("span", { style: { "color": "#032F62" } }, "of"),
|
|
675
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
676
|
+
createVNode("span", { style: { "color": "#032F62" } }, "your"),
|
|
677
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
678
|
+
createVNode("span", { style: { "color": "#032F62" } }, "source"),
|
|
679
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
680
|
+
createVNode("span", { style: { "color": "#032F62" } }, "files"),
|
|
681
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [string] [default: "),
|
|
682
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"."'),
|
|
683
|
+
createVNode("span", { style: { "color": "#24292E" } }, "]")
|
|
684
|
+
]),
|
|
685
|
+
createTextVNode("\n"),
|
|
686
|
+
createVNode("span", { class: "line" }),
|
|
687
|
+
createTextVNode("\n"),
|
|
688
|
+
createVNode("span", { class: "line" }, [
|
|
689
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "Options:")
|
|
690
|
+
]),
|
|
691
|
+
createTextVNode("\n"),
|
|
692
|
+
createVNode("span", { class: "line" }, [
|
|
693
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
694
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "-p,"),
|
|
695
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
696
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "--port"),
|
|
697
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
698
|
+
createVNode("span", { style: { "color": "#032F62" } }, "port"),
|
|
699
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [number]")
|
|
700
|
+
]),
|
|
701
|
+
createTextVNode("\n"),
|
|
702
|
+
createVNode("span", { class: "line" }, [
|
|
703
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
704
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "-o,"),
|
|
705
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
706
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "--open"),
|
|
707
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
708
|
+
createVNode("span", { style: { "color": "#032F62" } }, "open"),
|
|
709
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
710
|
+
createVNode("span", { style: { "color": "#032F62" } }, "in"),
|
|
711
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
712
|
+
createVNode("span", { style: { "color": "#032F62" } }, "browser"),
|
|
713
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [boolean] [default: "),
|
|
714
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "false"),
|
|
715
|
+
createVNode("span", { style: { "color": "#24292E" } }, "]")
|
|
716
|
+
]),
|
|
717
|
+
createTextVNode("\n"),
|
|
718
|
+
createVNode("span", { class: "line" }, [
|
|
719
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
720
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "--remote"),
|
|
721
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
722
|
+
createVNode("span", { style: { "color": "#032F62" } }, "listen"),
|
|
723
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
724
|
+
createVNode("span", { style: { "color": "#032F62" } }, "public"),
|
|
725
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
726
|
+
createVNode("span", { style: { "color": "#032F62" } }, "host"),
|
|
727
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
728
|
+
createVNode("span", { style: { "color": "#032F62" } }, "and"),
|
|
729
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
730
|
+
createVNode("span", { style: { "color": "#032F62" } }, "enable"),
|
|
731
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
732
|
+
createVNode("span", { style: { "color": "#032F62" } }, "remote"),
|
|
733
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
734
|
+
createVNode("span", { style: { "color": "#032F62" } }, "control")
|
|
735
|
+
]),
|
|
736
|
+
createTextVNode("\n"),
|
|
737
|
+
createVNode("span", { class: "line" }, [
|
|
738
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [boolean] [default: "),
|
|
739
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "true"),
|
|
740
|
+
createVNode("span", { style: { "color": "#24292E" } }, "]")
|
|
741
|
+
]),
|
|
742
|
+
createTextVNode("\n"),
|
|
743
|
+
createVNode("span", { class: "line" }, [
|
|
744
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
745
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "--log"),
|
|
746
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
747
|
+
createVNode("span", { style: { "color": "#032F62" } }, "log"),
|
|
748
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
749
|
+
createVNode("span", { style: { "color": "#032F62" } }, "level")
|
|
750
|
+
]),
|
|
751
|
+
createTextVNode("\n"),
|
|
752
|
+
createVNode("span", { class: "line" }, [
|
|
753
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [string] [choices: "),
|
|
754
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"error"'),
|
|
755
|
+
createVNode("span", { style: { "color": "#24292E" } }, ", "),
|
|
756
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"warn"'),
|
|
757
|
+
createVNode("span", { style: { "color": "#24292E" } }, ", "),
|
|
758
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"info"'),
|
|
759
|
+
createVNode("span", { style: { "color": "#24292E" } }, ", "),
|
|
760
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"silent"'),
|
|
761
|
+
createVNode("span", { style: { "color": "#24292E" } }, "] [default: "),
|
|
762
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"info"'),
|
|
763
|
+
createVNode("span", { style: { "color": "#24292E" } }, "]")
|
|
764
|
+
]),
|
|
765
|
+
createTextVNode("\n"),
|
|
766
|
+
createVNode("span", { class: "line" }, [
|
|
767
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
768
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "-h,"),
|
|
769
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
770
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "--help"),
|
|
771
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
772
|
+
createVNode("span", { style: { "color": "#032F62" } }, "Show"),
|
|
773
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
774
|
+
createVNode("span", { style: { "color": "#032F62" } }, "help"),
|
|
775
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [boolean]")
|
|
776
|
+
]),
|
|
777
|
+
createTextVNode("\n"),
|
|
778
|
+
createVNode("span", { class: "line" }, [
|
|
779
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
780
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "-v,"),
|
|
781
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
782
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "--version"),
|
|
783
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
784
|
+
createVNode("span", { style: { "color": "#032F62" } }, "Show"),
|
|
785
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
786
|
+
createVNode("span", { style: { "color": "#032F62" } }, "version"),
|
|
787
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
788
|
+
createVNode("span", { style: { "color": "#032F62" } }, "number"),
|
|
789
|
+
createVNode("span", { style: { "color": "#24292E" } }, " [boolean]")
|
|
790
|
+
])
|
|
791
|
+
])
|
|
792
|
+
])
|
|
793
|
+
]),
|
|
794
|
+
createVNode("h2", {
|
|
795
|
+
lang: "zh-CN",
|
|
796
|
+
id: "使用",
|
|
797
|
+
tabindex: "-1"
|
|
798
|
+
}, [
|
|
799
|
+
createTextVNode("使用 "),
|
|
800
|
+
createVNode(_component_AppLink, {
|
|
801
|
+
class: "header-anchor",
|
|
802
|
+
href: "#使用",
|
|
803
|
+
"aria-label": 'Permalink to "使用 {lang="zh-CN"}"'
|
|
804
|
+
}, {
|
|
805
|
+
default: withCtx(() => [
|
|
806
|
+
createTextVNode("")
|
|
807
|
+
]),
|
|
808
|
+
_: 1
|
|
809
|
+
/* STABLE */
|
|
810
|
+
})
|
|
811
|
+
]),
|
|
812
|
+
createVNode("h2", {
|
|
813
|
+
lang: "en",
|
|
814
|
+
id: "usage",
|
|
815
|
+
tabindex: "-1"
|
|
816
|
+
}, [
|
|
817
|
+
createTextVNode("Usage "),
|
|
818
|
+
createVNode(_component_AppLink, {
|
|
819
|
+
class: "header-anchor",
|
|
820
|
+
href: "#usage",
|
|
821
|
+
"aria-label": 'Permalink to "Usage {lang="en"}"'
|
|
822
|
+
}, {
|
|
823
|
+
default: withCtx(() => [
|
|
824
|
+
createTextVNode("")
|
|
825
|
+
]),
|
|
826
|
+
_: 1
|
|
827
|
+
/* STABLE */
|
|
828
|
+
})
|
|
829
|
+
]),
|
|
830
|
+
createVNode("h3", {
|
|
831
|
+
lang: "zh-CN",
|
|
832
|
+
id: "局部使用",
|
|
833
|
+
tabindex: "-1"
|
|
834
|
+
}, [
|
|
835
|
+
createTextVNode("局部使用 "),
|
|
836
|
+
createVNode(_component_AppLink, {
|
|
837
|
+
class: "header-anchor",
|
|
838
|
+
href: "#局部使用",
|
|
839
|
+
"aria-label": 'Permalink to "局部使用 {lang="zh-CN"}"'
|
|
840
|
+
}, {
|
|
841
|
+
default: withCtx(() => [
|
|
842
|
+
createTextVNode("")
|
|
843
|
+
]),
|
|
844
|
+
_: 1
|
|
845
|
+
/* STABLE */
|
|
846
|
+
})
|
|
847
|
+
]),
|
|
848
|
+
createVNode("h3", {
|
|
849
|
+
lang: "en",
|
|
850
|
+
id: "local",
|
|
851
|
+
tabindex: "-1"
|
|
852
|
+
}, [
|
|
853
|
+
createTextVNode("Local "),
|
|
854
|
+
createVNode(_component_AppLink, {
|
|
855
|
+
class: "header-anchor",
|
|
856
|
+
href: "#local",
|
|
857
|
+
"aria-label": 'Permalink to "Local {lang="en"}"'
|
|
858
|
+
}, {
|
|
859
|
+
default: withCtx(() => [
|
|
860
|
+
createTextVNode("")
|
|
861
|
+
]),
|
|
862
|
+
_: 1
|
|
863
|
+
/* STABLE */
|
|
864
|
+
})
|
|
865
|
+
]),
|
|
866
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
867
|
+
createVNode("p", null, [
|
|
868
|
+
createTextVNode("你可以在项目的 "),
|
|
869
|
+
createVNode("code", null, "package.json"),
|
|
870
|
+
createTextVNode(" 中配置快捷脚本。("),
|
|
871
|
+
createVNode("strong", null, "推荐"),
|
|
872
|
+
createTextVNode(")")
|
|
873
|
+
])
|
|
874
|
+
]),
|
|
875
|
+
createVNode("div", { lang: "en" }, [
|
|
876
|
+
createVNode("p", null, [
|
|
877
|
+
createTextVNode("You can configure shortcut scripts in "),
|
|
878
|
+
createVNode("code", null, "package.json"),
|
|
879
|
+
createTextVNode(". ("),
|
|
880
|
+
createVNode("strong", null, "Suggested"),
|
|
881
|
+
createTextVNode(")")
|
|
882
|
+
])
|
|
883
|
+
]),
|
|
884
|
+
createVNode("div", { class: "language-json" }, [
|
|
885
|
+
createVNode("button", {
|
|
886
|
+
title: "Copy Code",
|
|
887
|
+
class: "copy"
|
|
888
|
+
}),
|
|
889
|
+
createVNode("span", { class: "lang" }, "json"),
|
|
890
|
+
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
891
|
+
createVNode("code", null, [
|
|
892
|
+
createVNode("span", { class: "line" }, [
|
|
893
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "{")
|
|
894
|
+
]),
|
|
895
|
+
createTextVNode("\n"),
|
|
896
|
+
createVNode("span", { class: "line" }, [
|
|
897
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
898
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"scripts"'),
|
|
899
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": {")
|
|
900
|
+
]),
|
|
901
|
+
createTextVNode("\n"),
|
|
902
|
+
createVNode("span", { class: "line" }, [
|
|
903
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
904
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"build"'),
|
|
905
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
906
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"npm run build:ssg"'),
|
|
907
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
|
|
908
|
+
]),
|
|
909
|
+
createTextVNode("\n"),
|
|
910
|
+
createVNode("span", { class: "line" }, [
|
|
911
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
912
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"build:spa"'),
|
|
913
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
914
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"valaxy build"'),
|
|
915
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
|
|
916
|
+
]),
|
|
917
|
+
createTextVNode("\n"),
|
|
918
|
+
createVNode("span", { class: "line" }, [
|
|
919
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
920
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"build:ssg"'),
|
|
921
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
922
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"valaxy build --ssg"'),
|
|
923
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
|
|
924
|
+
]),
|
|
925
|
+
createTextVNode("\n"),
|
|
926
|
+
createVNode("span", { class: "line" }, [
|
|
927
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
928
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"dev"'),
|
|
929
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
930
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"valaxy ."'),
|
|
931
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
|
|
932
|
+
]),
|
|
933
|
+
createTextVNode("\n"),
|
|
934
|
+
createVNode("span", { class: "line" }, [
|
|
935
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
936
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"new"'),
|
|
937
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
938
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"valaxy new"'),
|
|
939
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
|
|
940
|
+
]),
|
|
941
|
+
createTextVNode("\n"),
|
|
942
|
+
createVNode("span", { class: "line" }, [
|
|
943
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
944
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, '"rss"'),
|
|
945
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
|
|
946
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, '"valaxy rss"')
|
|
947
|
+
]),
|
|
948
|
+
createTextVNode("\n"),
|
|
949
|
+
createVNode("span", { class: "line" }, [
|
|
950
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " }")
|
|
951
|
+
]),
|
|
952
|
+
createTextVNode("\n"),
|
|
953
|
+
createVNode("span", { class: "line" }, [
|
|
954
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, "}")
|
|
955
|
+
])
|
|
956
|
+
])
|
|
957
|
+
]),
|
|
958
|
+
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
959
|
+
createVNode("code", null, [
|
|
960
|
+
createVNode("span", { class: "line" }, [
|
|
961
|
+
createVNode("span", { style: { "color": "#24292E" } }, "{")
|
|
962
|
+
]),
|
|
963
|
+
createTextVNode("\n"),
|
|
964
|
+
createVNode("span", { class: "line" }, [
|
|
965
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
966
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"scripts"'),
|
|
967
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": {")
|
|
968
|
+
]),
|
|
969
|
+
createTextVNode("\n"),
|
|
970
|
+
createVNode("span", { class: "line" }, [
|
|
971
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
972
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"build"'),
|
|
973
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
974
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"npm run build:ssg"'),
|
|
975
|
+
createVNode("span", { style: { "color": "#24292E" } }, ",")
|
|
976
|
+
]),
|
|
977
|
+
createTextVNode("\n"),
|
|
978
|
+
createVNode("span", { class: "line" }, [
|
|
979
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
980
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"build:spa"'),
|
|
981
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
982
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"valaxy build"'),
|
|
983
|
+
createVNode("span", { style: { "color": "#24292E" } }, ",")
|
|
984
|
+
]),
|
|
985
|
+
createTextVNode("\n"),
|
|
986
|
+
createVNode("span", { class: "line" }, [
|
|
987
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
988
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"build:ssg"'),
|
|
989
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
990
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"valaxy build --ssg"'),
|
|
991
|
+
createVNode("span", { style: { "color": "#24292E" } }, ",")
|
|
992
|
+
]),
|
|
993
|
+
createTextVNode("\n"),
|
|
994
|
+
createVNode("span", { class: "line" }, [
|
|
995
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
996
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"dev"'),
|
|
997
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
998
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"valaxy ."'),
|
|
999
|
+
createVNode("span", { style: { "color": "#24292E" } }, ",")
|
|
1000
|
+
]),
|
|
1001
|
+
createTextVNode("\n"),
|
|
1002
|
+
createVNode("span", { class: "line" }, [
|
|
1003
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
1004
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"new"'),
|
|
1005
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
1006
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"valaxy new"'),
|
|
1007
|
+
createVNode("span", { style: { "color": "#24292E" } }, ",")
|
|
1008
|
+
]),
|
|
1009
|
+
createTextVNode("\n"),
|
|
1010
|
+
createVNode("span", { class: "line" }, [
|
|
1011
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
1012
|
+
createVNode("span", { style: { "color": "#005CC5" } }, '"rss"'),
|
|
1013
|
+
createVNode("span", { style: { "color": "#24292E" } }, ": "),
|
|
1014
|
+
createVNode("span", { style: { "color": "#032F62" } }, '"valaxy rss"')
|
|
1015
|
+
]),
|
|
1016
|
+
createTextVNode("\n"),
|
|
1017
|
+
createVNode("span", { class: "line" }, [
|
|
1018
|
+
createVNode("span", { style: { "color": "#24292E" } }, " }")
|
|
1019
|
+
]),
|
|
1020
|
+
createTextVNode("\n"),
|
|
1021
|
+
createVNode("span", { class: "line" }, [
|
|
1022
|
+
createVNode("span", { style: { "color": "#24292E" } }, "}")
|
|
1023
|
+
])
|
|
1024
|
+
])
|
|
1025
|
+
])
|
|
1026
|
+
]),
|
|
1027
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
1028
|
+
createVNode("p", null, [
|
|
1029
|
+
createTextVNode("譬如通过 "),
|
|
1030
|
+
createVNode("code", null, "npm run dev"),
|
|
1031
|
+
createTextVNode(" 启动项目,通过 "),
|
|
1032
|
+
createVNode("code", null, "npm run build"),
|
|
1033
|
+
createTextVNode(" 可以在构建生成 ssg 站点后,再构建 RSS 源。 通过 "),
|
|
1034
|
+
createVNode("code", null, "pnpm new post-title"),
|
|
1035
|
+
createTextVNode(" 在 "),
|
|
1036
|
+
createVNode("code", null, "posts"),
|
|
1037
|
+
createTextVNode(" 文件夹下新建一个名为 "),
|
|
1038
|
+
createVNode("code", null, "post-title"),
|
|
1039
|
+
createTextVNode(" 的文章。")
|
|
1040
|
+
])
|
|
1041
|
+
]),
|
|
1042
|
+
createVNode("div", { lang: "en" }, [
|
|
1043
|
+
createVNode("p", null, [
|
|
1044
|
+
createTextVNode("For example, you can use "),
|
|
1045
|
+
createVNode("code", null, "npm run dev"),
|
|
1046
|
+
createTextVNode(" to run the project, use "),
|
|
1047
|
+
createVNode("code", null, "npm run build"),
|
|
1048
|
+
createTextVNode(" to build SSG site followed by building RSS source, and use "),
|
|
1049
|
+
createVNode("code", null, "pnpm new post-title"),
|
|
1050
|
+
createTextVNode(" to create a new post called "),
|
|
1051
|
+
createVNode("code", null, "post-title"),
|
|
1052
|
+
createTextVNode(" under the "),
|
|
1053
|
+
createVNode("code", null, "posts"),
|
|
1054
|
+
createTextVNode(" folder.")
|
|
1055
|
+
])
|
|
1056
|
+
]),
|
|
1057
|
+
createVNode("h3", {
|
|
1058
|
+
lang: "zh-CN",
|
|
1059
|
+
id: "全局安装",
|
|
1060
|
+
tabindex: "-1"
|
|
1061
|
+
}, [
|
|
1062
|
+
createTextVNode("全局安装 "),
|
|
1063
|
+
createVNode(_component_AppLink, {
|
|
1064
|
+
class: "header-anchor",
|
|
1065
|
+
href: "#全局安装",
|
|
1066
|
+
"aria-label": 'Permalink to "全局安装 {lang="zh-CN"}"'
|
|
1067
|
+
}, {
|
|
1068
|
+
default: withCtx(() => [
|
|
1069
|
+
createTextVNode("")
|
|
1070
|
+
]),
|
|
1071
|
+
_: 1
|
|
1072
|
+
/* STABLE */
|
|
1073
|
+
})
|
|
1074
|
+
]),
|
|
1075
|
+
createVNode("h3", {
|
|
1076
|
+
lang: "en",
|
|
1077
|
+
id: "global",
|
|
1078
|
+
tabindex: "-1"
|
|
1079
|
+
}, [
|
|
1080
|
+
createTextVNode("Global "),
|
|
1081
|
+
createVNode(_component_AppLink, {
|
|
1082
|
+
class: "header-anchor",
|
|
1083
|
+
href: "#global",
|
|
1084
|
+
"aria-label": 'Permalink to "Global {lang="en"}"'
|
|
1085
|
+
}, {
|
|
1086
|
+
default: withCtx(() => [
|
|
1087
|
+
createTextVNode("")
|
|
1088
|
+
]),
|
|
1089
|
+
_: 1
|
|
1090
|
+
/* STABLE */
|
|
1091
|
+
})
|
|
1092
|
+
]),
|
|
1093
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
1094
|
+
createVNode("p", null, [
|
|
1095
|
+
createTextVNode("你也可以全局安装 valaxy 以在全局使用 "),
|
|
1096
|
+
createVNode("code", null, "valaxy"),
|
|
1097
|
+
createTextVNode(" 命令。("),
|
|
1098
|
+
createVNode("strong", null, "非必须"),
|
|
1099
|
+
createTextVNode(")")
|
|
1100
|
+
])
|
|
1101
|
+
]),
|
|
1102
|
+
createVNode("div", { lang: "en" }, [
|
|
1103
|
+
createVNode("p", null, [
|
|
1104
|
+
createTextVNode("You can also install Valaxy globally to use "),
|
|
1105
|
+
createVNode("code", null, "valaxy"),
|
|
1106
|
+
createTextVNode(" command globally. ("),
|
|
1107
|
+
createVNode("strong", null, "Optional"),
|
|
1108
|
+
createTextVNode(")")
|
|
1109
|
+
])
|
|
1110
|
+
]),
|
|
1111
|
+
createVNode("div", { class: "language-bash" }, [
|
|
1112
|
+
createVNode("button", {
|
|
1113
|
+
title: "Copy Code",
|
|
1114
|
+
class: "copy"
|
|
1115
|
+
}),
|
|
1116
|
+
createVNode("span", { class: "lang" }, "bash"),
|
|
1117
|
+
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
1118
|
+
createVNode("code", null, [
|
|
1119
|
+
createVNode("span", { class: "line" }, [
|
|
1120
|
+
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
1121
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
1122
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "add"),
|
|
1123
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
1124
|
+
createVNode("span", { style: { "color": "#79B8FF" } }, "-g"),
|
|
1125
|
+
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
1126
|
+
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy")
|
|
1127
|
+
])
|
|
1128
|
+
])
|
|
1129
|
+
]),
|
|
1130
|
+
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
1131
|
+
createVNode("code", null, [
|
|
1132
|
+
createVNode("span", { class: "line" }, [
|
|
1133
|
+
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
1134
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
1135
|
+
createVNode("span", { style: { "color": "#032F62" } }, "add"),
|
|
1136
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
1137
|
+
createVNode("span", { style: { "color": "#005CC5" } }, "-g"),
|
|
1138
|
+
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
1139
|
+
createVNode("span", { style: { "color": "#032F62" } }, "valaxy")
|
|
1140
|
+
])
|
|
1141
|
+
])
|
|
1142
|
+
])
|
|
1143
|
+
]),
|
|
1144
|
+
createVNode("h2", {
|
|
1145
|
+
lang: "zh-CN",
|
|
1146
|
+
id: "常用命令",
|
|
1147
|
+
tabindex: "-1"
|
|
1148
|
+
}, [
|
|
1149
|
+
createTextVNode("常用命令 "),
|
|
1150
|
+
createVNode(_component_AppLink, {
|
|
1151
|
+
class: "header-anchor",
|
|
1152
|
+
href: "#常用命令",
|
|
1153
|
+
"aria-label": 'Permalink to "常用命令 {lang="zh-CN"}"'
|
|
1154
|
+
}, {
|
|
1155
|
+
default: withCtx(() => [
|
|
1156
|
+
createTextVNode("")
|
|
1157
|
+
]),
|
|
1158
|
+
_: 1
|
|
1159
|
+
/* STABLE */
|
|
1160
|
+
})
|
|
1161
|
+
]),
|
|
1162
|
+
createVNode("h2", {
|
|
1163
|
+
lang: "en",
|
|
1164
|
+
id: "useful-commands",
|
|
1165
|
+
tabindex: "-1"
|
|
1166
|
+
}, [
|
|
1167
|
+
createTextVNode("Useful Commands "),
|
|
1168
|
+
createVNode(_component_AppLink, {
|
|
1169
|
+
class: "header-anchor",
|
|
1170
|
+
href: "#useful-commands",
|
|
1171
|
+
"aria-label": 'Permalink to "Useful Commands {lang="en"}"'
|
|
1172
|
+
}, {
|
|
1173
|
+
default: withCtx(() => [
|
|
1174
|
+
createTextVNode("")
|
|
1175
|
+
]),
|
|
1176
|
+
_: 1
|
|
1177
|
+
/* STABLE */
|
|
1178
|
+
})
|
|
1179
|
+
]),
|
|
1180
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
1181
|
+
createVNode("ul", null, [
|
|
1182
|
+
createVNode("li", null, [
|
|
1183
|
+
createVNode("code", null, "valaxy ."),
|
|
1184
|
+
createTextVNode(": 启动 Valaxy,默认目录为当前目录("),
|
|
1185
|
+
createVNode("code", null, "."),
|
|
1186
|
+
createTextVNode(" 可不写)")
|
|
1187
|
+
]),
|
|
1188
|
+
createVNode("li", null, [
|
|
1189
|
+
createVNode("code", null, "valaxy rss"),
|
|
1190
|
+
createTextVNode(": 自动生成 RSS")
|
|
1191
|
+
]),
|
|
1192
|
+
createVNode("li", null, [
|
|
1193
|
+
createVNode("code", null, "valaxy build"),
|
|
1194
|
+
createTextVNode(": 默认采用 Vite 构建 SPA 应用")
|
|
1195
|
+
]),
|
|
1196
|
+
createVNode("li", null, [
|
|
1197
|
+
createVNode("code", null, "valaxy build --ssg"),
|
|
1198
|
+
createTextVNode(": 使用 vite-ssg 构建静态页面站点(SEO 友好,推荐)")
|
|
1199
|
+
])
|
|
1200
|
+
])
|
|
1201
|
+
]),
|
|
1202
|
+
createVNode("div", { lang: "en" }, [
|
|
1203
|
+
createVNode("ul", null, [
|
|
1204
|
+
createVNode("li", null, [
|
|
1205
|
+
createVNode("code", null, "valaxy ."),
|
|
1206
|
+
createTextVNode(": Start Valaxy. The default directory is current directory. ("),
|
|
1207
|
+
createVNode("code", null, "."),
|
|
1208
|
+
createTextVNode(" is optional)")
|
|
1209
|
+
]),
|
|
1210
|
+
createVNode("li", null, [
|
|
1211
|
+
createVNode("code", null, "valaxy rss"),
|
|
1212
|
+
createTextVNode(": Generate RSS")
|
|
1213
|
+
]),
|
|
1214
|
+
createVNode("li", null, [
|
|
1215
|
+
createVNode("code", null, "valaxy build"),
|
|
1216
|
+
createTextVNode(": Use Vite to build SPA app by default")
|
|
1217
|
+
]),
|
|
1218
|
+
createVNode("li", null, [
|
|
1219
|
+
createVNode("code", null, "valaxy build --ssg"),
|
|
1220
|
+
createTextVNode(": Use vite-ssg to build static web page (SEO-friendly, recommended)")
|
|
1221
|
+
])
|
|
1222
|
+
])
|
|
1223
|
+
]),
|
|
1224
|
+
createVNode("h2", {
|
|
1225
|
+
lang: "zh-CN",
|
|
1226
|
+
id: "文章",
|
|
1227
|
+
tabindex: "-1"
|
|
1228
|
+
}, [
|
|
1229
|
+
createTextVNode("文章 "),
|
|
1230
|
+
createVNode(_component_AppLink, {
|
|
1231
|
+
class: "header-anchor",
|
|
1232
|
+
href: "#文章",
|
|
1233
|
+
"aria-label": 'Permalink to "文章 {lang="zh-CN"}"'
|
|
1234
|
+
}, {
|
|
1235
|
+
default: withCtx(() => [
|
|
1236
|
+
createTextVNode("")
|
|
1237
|
+
]),
|
|
1238
|
+
_: 1
|
|
1239
|
+
/* STABLE */
|
|
1240
|
+
})
|
|
1241
|
+
]),
|
|
1242
|
+
createVNode("h2", {
|
|
1243
|
+
lang: "en",
|
|
1244
|
+
id: "posts",
|
|
1245
|
+
tabindex: "-1"
|
|
1246
|
+
}, [
|
|
1247
|
+
createTextVNode("Posts "),
|
|
1248
|
+
createVNode(_component_AppLink, {
|
|
1249
|
+
class: "header-anchor",
|
|
1250
|
+
href: "#posts",
|
|
1251
|
+
"aria-label": 'Permalink to "Posts {lang="en"}"'
|
|
1252
|
+
}, {
|
|
1253
|
+
default: withCtx(() => [
|
|
1254
|
+
createTextVNode("")
|
|
1255
|
+
]),
|
|
1256
|
+
_: 1
|
|
1257
|
+
/* STABLE */
|
|
1258
|
+
})
|
|
1259
|
+
]),
|
|
1260
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
1261
|
+
createVNode("ul", null, [
|
|
1262
|
+
createVNode("li", null, [
|
|
1263
|
+
createVNode("code", null, "valaxy new <title>"),
|
|
1264
|
+
createTextVNode(": 在 "),
|
|
1265
|
+
createVNode("code", null, "pages/posts"),
|
|
1266
|
+
createTextVNode(" 目录下新建标题为 "),
|
|
1267
|
+
createVNode("code", null, "title"),
|
|
1268
|
+
createTextVNode(" 的帖子(.md)")
|
|
1269
|
+
])
|
|
1270
|
+
]),
|
|
1271
|
+
createVNode("p", null, [
|
|
1272
|
+
createTextVNode("譬如,"),
|
|
1273
|
+
createVNode("code", null, "valaxy new your-first-post"),
|
|
1274
|
+
createTextVNode(",将会在 "),
|
|
1275
|
+
createVNode("code", null, "pages/posts"),
|
|
1276
|
+
createTextVNode(" 下自动新建 "),
|
|
1277
|
+
createVNode("code", null, "your-first-post.md"),
|
|
1278
|
+
createTextVNode(" 文件,并附带日期。")
|
|
1279
|
+
]),
|
|
1280
|
+
createVNode("blockquote", null, [
|
|
1281
|
+
createVNode("p", null, [
|
|
1282
|
+
createTextVNode("你觉得还可以有其他更常用、更好用的命令?没问题,尽管来 "),
|
|
1283
|
+
createVNode(_component_AppLink, {
|
|
1284
|
+
href: "https://github.com/YunYouJun/valaxy/issues",
|
|
1285
|
+
target: "_blank",
|
|
1286
|
+
rel: "noreferrer"
|
|
1287
|
+
}, {
|
|
1288
|
+
default: withCtx(() => [
|
|
1289
|
+
createTextVNode("Issues")
|
|
1290
|
+
]),
|
|
1291
|
+
_: 1
|
|
1292
|
+
/* STABLE */
|
|
1293
|
+
}),
|
|
1294
|
+
createTextVNode(" 反馈吧!")
|
|
1295
|
+
])
|
|
1296
|
+
])
|
|
1297
|
+
]),
|
|
1298
|
+
createVNode("div", { lang: "en" }, [
|
|
1299
|
+
createVNode("ul", null, [
|
|
1300
|
+
createVNode("li", null, [
|
|
1301
|
+
createVNode("code", null, "valaxy new <title>"),
|
|
1302
|
+
createTextVNode(": Create a post (.md) titled "),
|
|
1303
|
+
createVNode("code", null, "title"),
|
|
1304
|
+
createTextVNode(" under the directory "),
|
|
1305
|
+
createVNode("code", null, "pages/posts"),
|
|
1306
|
+
createTextVNode(".")
|
|
1307
|
+
])
|
|
1308
|
+
]),
|
|
1309
|
+
createVNode("p", null, [
|
|
1310
|
+
createTextVNode("For example, "),
|
|
1311
|
+
createVNode("code", null, "valaxy new your-first-post"),
|
|
1312
|
+
createTextVNode(" will create a file "),
|
|
1313
|
+
createVNode("code", null, "your-first-post.md"),
|
|
1314
|
+
createTextVNode(" under "),
|
|
1315
|
+
createVNode("code", null, "pages/posts"),
|
|
1316
|
+
createTextVNode(", and update the date.")
|
|
1317
|
+
]),
|
|
1318
|
+
createVNode("blockquote", null, [
|
|
1319
|
+
createVNode("p", null, [
|
|
1320
|
+
createTextVNode("Do you think you have other more useful or better commands? That's great! Please report that by creating an issue at "),
|
|
1321
|
+
createVNode(_component_AppLink, {
|
|
1322
|
+
href: "https://github.com/YunYouJun/valaxy/issues",
|
|
1323
|
+
target: "_blank",
|
|
1324
|
+
rel: "noreferrer"
|
|
1325
|
+
}, {
|
|
1326
|
+
default: withCtx(() => [
|
|
1327
|
+
createTextVNode("GitHub Issues")
|
|
1328
|
+
]),
|
|
1329
|
+
_: 1
|
|
1330
|
+
/* STABLE */
|
|
1331
|
+
}),
|
|
1332
|
+
createTextVNode("!")
|
|
1333
|
+
])
|
|
1334
|
+
])
|
|
1335
|
+
]),
|
|
1336
|
+
createVNode("ul", null, [
|
|
1337
|
+
createVNode("li", null, [
|
|
1338
|
+
createVNode(_component_AppLink, { href: "/guide/custom/templates" }, {
|
|
1339
|
+
default: withCtx(() => [
|
|
1340
|
+
createTextVNode("自定义文章模板")
|
|
1341
|
+
]),
|
|
1342
|
+
_: 1
|
|
1343
|
+
/* STABLE */
|
|
1344
|
+
})
|
|
1345
|
+
])
|
|
1346
|
+
]),
|
|
1347
|
+
createVNode("h2", {
|
|
1348
|
+
id: "faq",
|
|
1349
|
+
tabindex: "-1"
|
|
1350
|
+
}, [
|
|
1351
|
+
createTextVNode("FAQ "),
|
|
1352
|
+
createVNode(_component_AppLink, {
|
|
1353
|
+
class: "header-anchor",
|
|
1354
|
+
href: "#faq",
|
|
1355
|
+
"aria-label": 'Permalink to "FAQ"'
|
|
1356
|
+
}, {
|
|
1357
|
+
default: withCtx(() => [
|
|
1358
|
+
createTextVNode("")
|
|
1359
|
+
]),
|
|
1360
|
+
_: 1
|
|
1361
|
+
/* STABLE */
|
|
1362
|
+
})
|
|
1363
|
+
]),
|
|
1364
|
+
createVNode("h3", {
|
|
1365
|
+
lang: "zh-CN",
|
|
1366
|
+
id: "控制台开发时日志太少-构建时日志太多",
|
|
1367
|
+
tabindex: "-1"
|
|
1368
|
+
}, [
|
|
1369
|
+
createTextVNode("控制台开发时日志太少,构建时日志太多? "),
|
|
1370
|
+
createVNode(_component_AppLink, {
|
|
1371
|
+
class: "header-anchor",
|
|
1372
|
+
href: "#控制台开发时日志太少-构建时日志太多",
|
|
1373
|
+
"aria-label": 'Permalink to "控制台开发时日志太少,构建时日志太多? {lang="zh-CN"}"'
|
|
1374
|
+
}, {
|
|
1375
|
+
default: withCtx(() => [
|
|
1376
|
+
createTextVNode("")
|
|
1377
|
+
]),
|
|
1378
|
+
_: 1
|
|
1379
|
+
/* STABLE */
|
|
1380
|
+
})
|
|
1381
|
+
]),
|
|
1382
|
+
createVNode("h3", {
|
|
1383
|
+
lang: "en",
|
|
1384
|
+
id: "more-logs-when-developing-and-less-when-building",
|
|
1385
|
+
tabindex: "-1"
|
|
1386
|
+
}, [
|
|
1387
|
+
createTextVNode("More logs when developing and less when building? "),
|
|
1388
|
+
createVNode(_component_AppLink, {
|
|
1389
|
+
class: "header-anchor",
|
|
1390
|
+
href: "#more-logs-when-developing-and-less-when-building",
|
|
1391
|
+
"aria-label": 'Permalink to "More logs when developing and less when building? {lang="en"}"'
|
|
1392
|
+
}, {
|
|
1393
|
+
default: withCtx(() => [
|
|
1394
|
+
createTextVNode("")
|
|
1395
|
+
]),
|
|
1396
|
+
_: 1
|
|
1397
|
+
/* STABLE */
|
|
1398
|
+
})
|
|
1399
|
+
]),
|
|
1400
|
+
createVNode("div", { lang: "zh-CN" }, [
|
|
1401
|
+
createVNode("ul", null, [
|
|
1402
|
+
createVNode("li", null, [
|
|
1403
|
+
createTextVNode("开发与("),
|
|
1404
|
+
createVNode("code", null, "valaxy"),
|
|
1405
|
+
createTextVNode(")构建("),
|
|
1406
|
+
createVNode("code", null, "valaxy build"),
|
|
1407
|
+
createTextVNode(")时默认日志等级为 "),
|
|
1408
|
+
createVNode("code", null, "info")
|
|
1409
|
+
]),
|
|
1410
|
+
createVNode("li", null, "可选项:['error', 'warn', 'info', 'silent']")
|
|
1411
|
+
]),
|
|
1412
|
+
createVNode("p", null, "您可以通过设置日志等级控制。"),
|
|
1413
|
+
createVNode("p", null, [
|
|
1414
|
+
createTextVNode("譬如 "),
|
|
1415
|
+
createVNode("code", null, "valaxy build --log=warn"),
|
|
1416
|
+
createTextVNode("。")
|
|
1417
|
+
])
|
|
1418
|
+
]),
|
|
1419
|
+
createVNode("div", { lang: "en" }, [
|
|
1420
|
+
createVNode("ul", null, [
|
|
1421
|
+
createVNode("li", null, [
|
|
1422
|
+
createTextVNode("The default log level is "),
|
|
1423
|
+
createVNode("code", null, "info"),
|
|
1424
|
+
createTextVNode(" when developing ("),
|
|
1425
|
+
createVNode("code", null, "valaxy"),
|
|
1426
|
+
createTextVNode(") and building ("),
|
|
1427
|
+
createVNode("code", null, "valaxy build"),
|
|
1428
|
+
createTextVNode(").")
|
|
1429
|
+
]),
|
|
1430
|
+
createVNode("li", null, "Options: ['error', 'warn', 'info', 'silent']")
|
|
1431
|
+
]),
|
|
1432
|
+
createVNode("p", null, "You can use arguments to set the log level."),
|
|
1433
|
+
createVNode("p", null, [
|
|
1434
|
+
createTextVNode("For example, "),
|
|
1435
|
+
createVNode("code", null, "valaxy build --log=info"),
|
|
1436
|
+
createTextVNode(".")
|
|
1437
|
+
])
|
|
1438
|
+
])
|
|
1439
|
+
];
|
|
1440
|
+
}
|
|
1441
|
+
}),
|
|
1442
|
+
"main-header": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1443
|
+
if (_push2) {
|
|
1444
|
+
ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
|
|
1445
|
+
} else {
|
|
1446
|
+
return [
|
|
1447
|
+
renderSlot(_ctx.$slots, "main-header")
|
|
1448
|
+
];
|
|
1449
|
+
}
|
|
1450
|
+
}),
|
|
1451
|
+
"main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1452
|
+
if (_push2) {
|
|
1453
|
+
ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
|
|
1454
|
+
} else {
|
|
1455
|
+
return [
|
|
1456
|
+
renderSlot(_ctx.$slots, "main-header-after")
|
|
1457
|
+
];
|
|
1458
|
+
}
|
|
1459
|
+
}),
|
|
1460
|
+
"main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1461
|
+
if (_push2) {
|
|
1462
|
+
ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
|
|
1463
|
+
} else {
|
|
1464
|
+
return [
|
|
1465
|
+
renderSlot(_ctx.$slots, "main-nav")
|
|
1466
|
+
];
|
|
1467
|
+
}
|
|
1468
|
+
}),
|
|
1469
|
+
"main-content": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1470
|
+
if (_push2) {
|
|
1471
|
+
ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
|
|
1472
|
+
} else {
|
|
1473
|
+
return [
|
|
1474
|
+
renderSlot(_ctx.$slots, "main-content")
|
|
1475
|
+
];
|
|
1476
|
+
}
|
|
1477
|
+
}),
|
|
1478
|
+
"main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1479
|
+
if (_push2) {
|
|
1480
|
+
ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
|
|
1481
|
+
} else {
|
|
1482
|
+
return [
|
|
1483
|
+
renderSlot(_ctx.$slots, "main-content-after")
|
|
1484
|
+
];
|
|
1485
|
+
}
|
|
1486
|
+
}),
|
|
1487
|
+
"main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1488
|
+
if (_push2) {
|
|
1489
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
|
|
1490
|
+
} else {
|
|
1491
|
+
return [
|
|
1492
|
+
renderSlot(_ctx.$slots, "main-nav-before")
|
|
1493
|
+
];
|
|
1494
|
+
}
|
|
1495
|
+
}),
|
|
1496
|
+
"main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1497
|
+
if (_push2) {
|
|
1498
|
+
ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
|
|
1499
|
+
} else {
|
|
1500
|
+
return [
|
|
1501
|
+
renderSlot(_ctx.$slots, "main-nav-after")
|
|
1502
|
+
];
|
|
1503
|
+
}
|
|
1504
|
+
}),
|
|
1505
|
+
comment: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1506
|
+
if (_push2) {
|
|
1507
|
+
ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
|
|
1508
|
+
} else {
|
|
1509
|
+
return [
|
|
1510
|
+
renderSlot(_ctx.$slots, "comment")
|
|
1511
|
+
];
|
|
1512
|
+
}
|
|
1513
|
+
}),
|
|
1514
|
+
footer: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1515
|
+
if (_push2) {
|
|
1516
|
+
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
1517
|
+
} else {
|
|
1518
|
+
return [
|
|
1519
|
+
renderSlot(_ctx.$slots, "footer")
|
|
1520
|
+
];
|
|
1521
|
+
}
|
|
1522
|
+
}),
|
|
1523
|
+
aside: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1524
|
+
if (_push2) {
|
|
1525
|
+
ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
|
|
1526
|
+
} else {
|
|
1527
|
+
return [
|
|
1528
|
+
renderSlot(_ctx.$slots, "aside")
|
|
1529
|
+
];
|
|
1530
|
+
}
|
|
1531
|
+
}),
|
|
1532
|
+
"aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1533
|
+
if (_push2) {
|
|
1534
|
+
ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
|
|
1535
|
+
} else {
|
|
1536
|
+
return [
|
|
1537
|
+
renderSlot(_ctx.$slots, "aside-custom")
|
|
1538
|
+
];
|
|
1539
|
+
}
|
|
1540
|
+
}),
|
|
1541
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1542
|
+
if (_push2) {
|
|
1543
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
1544
|
+
} else {
|
|
1545
|
+
return [
|
|
1546
|
+
renderSlot(_ctx.$slots, "default")
|
|
1547
|
+
];
|
|
1548
|
+
}
|
|
1549
|
+
}),
|
|
1550
|
+
_: 3
|
|
1551
|
+
/* FORWARDED */
|
|
1552
|
+
}, _parent));
|
|
1553
|
+
}
|
|
1554
|
+
const _sfc_setup = _sfc_main.setup;
|
|
1555
|
+
_sfc_main.setup = (props, ctx) => {
|
|
1556
|
+
const ssrContext = useSSRContext();
|
|
1557
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/commands/index.md");
|
|
1558
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1559
|
+
};
|
|
1560
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
1561
|
+
export {
|
|
1562
|
+
__pageData,
|
|
1563
|
+
index as default
|
|
1564
|
+
};
|