valaxy 0.15.11-alpha.0 → 0.15.11
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/LICENSE +21 -0
- package/bin/valaxy.cjs +0 -0
- package/bin/valaxy.mjs +0 -0
- package/client/composables/dark.ts +0 -2
- package/client/styles/common/transition.scss +22 -0
- package/package.json +8 -8
- package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +0 -1
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +0 -227
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +0 -752
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +0 -31
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +0 -42
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +0 -172
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +0 -1105
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +0 -286
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +0 -627
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +0 -2460
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +0 -1071
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +0 -490
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +0 -1851
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +0 -1444
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +0 -321
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +0 -2625
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +0 -244
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +0 -370
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +0 -3684
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +0 -969
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +0 -517
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +0 -4159
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +0 -676
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +0 -768
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +0 -527
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +0 -424
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +0 -563
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +0 -3294
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +0 -202
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +0 -549
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +0 -4161
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +0 -1170
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +0 -1564
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +0 -6119
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +0 -180
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +0 -5895
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +0 -278
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +0 -752
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +0 -1605
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +0 -4
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +0 -477
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +0 -286
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +0 -3742
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +0 -548
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +0 -574
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +0 -172
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +0 -669
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +0 -619
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +0 -830
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +0 -350
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +0 -1131
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +0 -4963
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +0 -675
- package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +0 -33
- package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +0 -6239
- package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +0 -1
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +0 -227
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +0 -752
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +0 -31
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +0 -42
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +0 -172
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +0 -1105
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +0 -286
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +0 -627
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +0 -2460
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +0 -1071
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +0 -490
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +0 -1851
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +0 -1444
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +0 -321
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +0 -2625
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +0 -244
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +0 -370
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +0 -3684
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +0 -969
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +0 -517
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +0 -4159
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +0 -676
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +0 -768
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +0 -527
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +0 -424
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +0 -563
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +0 -3294
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +0 -202
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +0 -549
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +0 -4161
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +0 -1170
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +0 -1564
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +0 -6119
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +0 -180
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +0 -5895
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +0 -278
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +0 -752
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +0 -1605
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +0 -4
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +0 -477
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +0 -286
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +0 -3742
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +0 -548
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +0 -574
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +0 -172
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +0 -669
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +0 -619
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +0 -830
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +0 -350
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +0 -1131
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +0 -4963
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +0 -675
- package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +0 -33
- package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +0 -6239
- package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
- package/client/styles/common/view-transition.css +0 -21
|
@@ -1,3684 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeProps, unref, useSSRContext, provide, withCtx, createTextVNode, createVNode, renderSlot } from "vue";
|
|
2
|
-
import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent, ssrRenderStyle, ssrRenderSlot } from "vue/server-renderer";
|
|
3
|
-
import { _ as _export_sfc, a as _sfc_main$2 } from "../main.mjs";
|
|
4
|
-
import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
|
|
5
|
-
import { useRoute } from "vue-router";
|
|
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 name = "@valaxyjs/monorepo";
|
|
25
|
-
const type = "module";
|
|
26
|
-
const version = "0.15.10";
|
|
27
|
-
const packageManager = "pnpm@8.10.0";
|
|
28
|
-
const description = "📄 Vite & Vue powered static blog generator.";
|
|
29
|
-
const author = {
|
|
30
|
-
email: "me@yunyoujun.cn",
|
|
31
|
-
name: "YunYouJun",
|
|
32
|
-
url: "https://www.yunyoujun.cn"
|
|
33
|
-
};
|
|
34
|
-
const license = "MIT";
|
|
35
|
-
const repository = "https://github.com/YunYouJun/valaxy";
|
|
36
|
-
const keywords = [
|
|
37
|
-
"vite",
|
|
38
|
-
"vue",
|
|
39
|
-
"blog"
|
|
40
|
-
];
|
|
41
|
-
const engines = {
|
|
42
|
-
node: "^18.0.0 || >=20.0.0"
|
|
43
|
-
};
|
|
44
|
-
const scripts = {
|
|
45
|
-
build: "pnpm run build:valaxy",
|
|
46
|
-
"build:valaxy": "pnpm -C packages/valaxy run build",
|
|
47
|
-
"build:demo": "pnpm -C demo/yun run build",
|
|
48
|
-
"build:docs": "pnpm -C docs run build",
|
|
49
|
-
"ci:publish": "zx scripts/publish.mjs",
|
|
50
|
-
demo: "pnpm run demo:yun",
|
|
51
|
-
"demo:build": "pnpm -C demo/yun run build",
|
|
52
|
-
"demo:serve": "pnpm -C demo/yun run serve",
|
|
53
|
-
"demo:yun": "pnpm -C demo/yun run dev",
|
|
54
|
-
"dev:lib": "pnpm -C packages/valaxy run dev",
|
|
55
|
-
dev: "pnpm -r --filter=./packages/** --parallel run dev",
|
|
56
|
-
docs: "pnpm -C docs run dev",
|
|
57
|
-
"docs:dev": "pnpm -C docs run dev",
|
|
58
|
-
"docs:build": "pnpm -C docs run build",
|
|
59
|
-
"docs:serve": "pnpm -C docs run serve",
|
|
60
|
-
"docs:vitepress": "pnpm -C docs run vitepress:dev",
|
|
61
|
-
lint: "eslint .",
|
|
62
|
-
stylelint: 'stylelint --fix "**/*.{scss,vue}"',
|
|
63
|
-
prepublishOnly: "npm run build",
|
|
64
|
-
release: "tsx scripts/release.ts",
|
|
65
|
-
start: "node packages/valaxy/bin/valaxy.js dev",
|
|
66
|
-
typecheck: "vue-tsc --noEmit --skipLibCheck",
|
|
67
|
-
test: "vitest",
|
|
68
|
-
"test:e2e": "cypress open",
|
|
69
|
-
"test:space": "export NODE_OPTIONS='--inspect --max-old-space-size=2048' && pnpm -C demo/yun run build:ssg",
|
|
70
|
-
prepare: "husky install"
|
|
71
|
-
};
|
|
72
|
-
const devDependencies = {
|
|
73
|
-
"@antfu/eslint-config": "1.0.0-beta.29",
|
|
74
|
-
"@iconify-json/logos": "^1.1.37",
|
|
75
|
-
"@iconify-json/vscode-icons": "^1.1.29",
|
|
76
|
-
"@microsoft/api-extractor": "^7.38.0",
|
|
77
|
-
"@types/debug": "^4.1.10",
|
|
78
|
-
"@types/markdown-it-attrs": "^4.1.2",
|
|
79
|
-
"@types/markdown-it-container": "^2.0.8",
|
|
80
|
-
"@types/markdown-it-emoji": "^2.0.3",
|
|
81
|
-
"@types/node": "^20.8.9",
|
|
82
|
-
"@types/prompts": "^2.4.7",
|
|
83
|
-
"@types/resolve": "^1.20.4",
|
|
84
|
-
"@types/semver": "^7.5.4",
|
|
85
|
-
"cross-env": "^7.0.3",
|
|
86
|
-
cypress: "^13.3.3",
|
|
87
|
-
eslint: "^8.52.0",
|
|
88
|
-
"eslint-plugin-cypress": "^2.15.1",
|
|
89
|
-
"https-localhost": "^4.7.1",
|
|
90
|
-
husky: "^8.0.3",
|
|
91
|
-
"lint-staged": "^15.0.2",
|
|
92
|
-
prompts: "^2.4.2",
|
|
93
|
-
rimraf: "^5.0.5",
|
|
94
|
-
stylelint: "^15.11.0",
|
|
95
|
-
"stylelint-config-recommended-vue": "^1.5.0",
|
|
96
|
-
"stylelint-config-standard-scss": "^11.0.0",
|
|
97
|
-
tsup: "^7.2.0",
|
|
98
|
-
tsx: "^3.14.0",
|
|
99
|
-
typescript: "^5.2.2",
|
|
100
|
-
unbuild: "^2.0.0",
|
|
101
|
-
valaxy: "workspace:*",
|
|
102
|
-
"valaxy-addon-algolia": "workspace:*",
|
|
103
|
-
"valaxy-addon-components": "workspace:*",
|
|
104
|
-
"valaxy-addon-lightgallery": "workspace:*",
|
|
105
|
-
"valaxy-addon-test": "workspace:*",
|
|
106
|
-
"valaxy-addon-twikoo": "workspace:*",
|
|
107
|
-
"valaxy-addon-waline": "workspace:*",
|
|
108
|
-
"valaxy-theme-press": "workspace:*",
|
|
109
|
-
"valaxy-theme-yun": "workspace:*",
|
|
110
|
-
vitest: "^0.34.6",
|
|
111
|
-
"vue-tsc": "1.8.22",
|
|
112
|
-
zx: "^7.2.3"
|
|
113
|
-
};
|
|
114
|
-
const pnpm = {
|
|
115
|
-
peerDependencyRules: {
|
|
116
|
-
ignoreMissing: [
|
|
117
|
-
"@algolia/client-search",
|
|
118
|
-
"@types/markdown-it",
|
|
119
|
-
"@types/react",
|
|
120
|
-
"react",
|
|
121
|
-
"react-dom"
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
const pkg = {
|
|
126
|
-
name,
|
|
127
|
-
type,
|
|
128
|
-
version,
|
|
129
|
-
"private": true,
|
|
130
|
-
packageManager,
|
|
131
|
-
description,
|
|
132
|
-
author,
|
|
133
|
-
license,
|
|
134
|
-
repository,
|
|
135
|
-
keywords,
|
|
136
|
-
engines,
|
|
137
|
-
scripts,
|
|
138
|
-
devDependencies,
|
|
139
|
-
pnpm,
|
|
140
|
-
"lint-staged": {
|
|
141
|
-
"{packages,demo,scripts}/**/*.{js,ts,vue,json,yml}": [
|
|
142
|
-
"eslint --fix"
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
147
|
-
__name: "CreateValaxyTooltip",
|
|
148
|
-
__ssrInlineRender: true,
|
|
149
|
-
setup(__props) {
|
|
150
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
151
|
-
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
152
|
-
text: "white sm",
|
|
153
|
-
bg: "dark",
|
|
154
|
-
"rounded-lg": ""
|
|
155
|
-
}, _attrs))}><pre> 🌌 Valaxy <span text-blue>v${ssrInterpolate(unref(pkg).version)}</span>
|
|
156
|
-
|
|
157
|
-
<span text-cyan>?</span> Select a type: <span op="70">› - Use arrow-keys. Return to submit.</span>
|
|
158
|
-
<span text-cyan>❯ Blog <span op="70">- For Most Users</span></span> <span text-purple>【Press Enter】</span>
|
|
159
|
-
<span text-green>Theme <span op="70">- For Theme Developers</span></span>
|
|
160
|
-
<span text-yellow>Addon <span op="70">- For Addon Developers</span></span>
|
|
161
|
-
|
|
162
|
-
<span text-cyan>?</span> Project name: <span op="70">› valaxy-blog</span> <span text-purple>【Press Enter】</span>
|
|
163
|
-
📁 <span op="70">/root/repos/valaxy-blog</span>
|
|
164
|
-
|
|
165
|
-
<span op="70">Scaffolding project in</span> valaxy-blog <span op="70">...</span>
|
|
166
|
-
<span text-green>Done.</span>
|
|
167
|
-
|
|
168
|
-
<span text-cyan>?</span> Install and start it now? <span op="70">› (Y/n)</span> <span text-purple>Press Y</span>
|
|
169
|
-
|
|
170
|
-
<span text-cyan>?</span> Choose the agent <span op="70">› - Use arrow-keys. Return to submit.</span>
|
|
171
|
-
npm
|
|
172
|
-
yarn
|
|
173
|
-
<span text-cyan>❯ pnpm </span><span text-purple>【Press Enter】</span>
|
|
174
|
-
<!-- Done in 20.5s. --></pre><!-- > valaxy-blog@0.0.0 dev /root/repos/valaxy-blog
|
|
175
|
-
> valaxy
|
|
176
|
-
|
|
177
|
-
✔ Resolve valaxyConfig from /root/repos/valaxy-blog/valaxy.config.ts
|
|
178
|
-
✔ Resolve siteConfig from /root/repos/valaxy-blog/site.config.ts
|
|
179
|
-
✔ Resolve valaxy.config.ts from theme(yun)
|
|
180
|
-
✔ Resolve addons from /root/repos/valaxy-blog
|
|
181
|
-
|
|
182
|
-
🌌 Valaxy v0.15.5
|
|
183
|
-
|
|
184
|
-
🪐 theme > yun
|
|
185
|
-
📁 /root/repos/valaxy-blog
|
|
186
|
-
|
|
187
|
-
Preview > http://localhost:4860/
|
|
188
|
-
Network > http://172.19.185.146:4860/
|
|
189
|
-
|
|
190
|
-
shortcuts > restart | open | qr | edit --></div>`);
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
195
|
-
_sfc_main$1.setup = (props, ctx) => {
|
|
196
|
-
const ssrContext = useSSRContext();
|
|
197
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/components/CreateValaxyTooltip.vue");
|
|
198
|
-
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
199
|
-
};
|
|
200
|
-
const __pageData = JSON.parse('{"title":"Getting Started","description":"","frontmatter":{"title":"Getting Started","title_zh-CN":"开始","categories":["getting-started"],"end":true,"top":100},"headers":[{"level":2,"title":"Overview","slug":"overview","link":"#overview","children":[]},{"level":2,"title":"总览","slug":"总览","link":"#总览","children":[]},{"level":2,"title":"Create a Valaxy Project","slug":"create-a-valaxy-project","link":"#create-a-valaxy-project","children":[]},{"level":2,"title":"创建 Valaxy 项目","slug":"创建-valaxy-项目","link":"#创建-valaxy-项目","children":[{"level":3,"title":"Try it Online","slug":"try-it-online","link":"#try-it-online","children":[]},{"level":3,"title":"在线试用","slug":"在线试用","link":"#在线试用","children":[]},{"level":3,"title":"Locally","slug":"locally","link":"#locally","children":[]},{"level":3,"title":"在本地创建","slug":"在本地创建","link":"#在本地创建","children":[]}]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[{"level":3,"title":"Config","slug":"config","link":"#config","children":[]},{"level":3,"title":"配置","slug":"配置","link":"#配置","children":[]}]},{"level":2,"title":"Deployment","slug":"deployment","link":"#deployment","children":[]},{"level":2,"title":"部署","slug":"部署","link":"#部署","children":[]},{"level":2,"title":"Upgrading","slug":"upgrading","link":"#upgrading","children":[]},{"level":2,"title":"升级","slug":"升级","link":"#升级","children":[{"level":3,"title":"pnpm","slug":"pnpm","link":"#pnpm","children":[]}]},{"level":2,"title":"迁移","slug":"迁移","link":"#迁移","children":[]},{"level":2,"title":"Directory Structure","slug":"directory-structure","link":"#directory-structure","children":[]},{"level":2,"title":"目录结构","slug":"目录结构","link":"#目录结构","children":[{"level":3,"title":"Main folders","slug":"main-folders","link":"#main-folders","children":[]},{"level":3,"title":"主要的文件夹","slug":"主要的文件夹","link":"#主要的文件夹","children":[]},{"level":3,"title":"Others","slug":"others","link":"#others","children":[]},{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]}]},{"level":2,"title":"Themes","slug":"themes","link":"#themes","children":[]},{"level":2,"title":"主题","slug":"主题","link":"#主题","children":[]},{"level":2,"title":"Community","slug":"community","link":"#community","children":[]},{"level":2,"title":"社区","slug":"社区","link":"#社区","children":[]}],"relativePath":"pages/guide/getting-started.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\getting-started.md","lastUpdated":1698506898000}');
|
|
201
|
-
const data = JSON.parse('{"title":"Getting Started","description":"","frontmatter":{"title":"Getting Started","title_zh-CN":"开始","categories":["getting-started"],"end":true,"top":100},"headers":[{"level":2,"title":"Overview","slug":"overview","link":"#overview","children":[]},{"level":2,"title":"总览","slug":"总览","link":"#总览","children":[]},{"level":2,"title":"Create a Valaxy Project","slug":"create-a-valaxy-project","link":"#create-a-valaxy-project","children":[]},{"level":2,"title":"创建 Valaxy 项目","slug":"创建-valaxy-项目","link":"#创建-valaxy-项目","children":[{"level":3,"title":"Try it Online","slug":"try-it-online","link":"#try-it-online","children":[]},{"level":3,"title":"在线试用","slug":"在线试用","link":"#在线试用","children":[]},{"level":3,"title":"Locally","slug":"locally","link":"#locally","children":[]},{"level":3,"title":"在本地创建","slug":"在本地创建","link":"#在本地创建","children":[]}]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[{"level":3,"title":"Config","slug":"config","link":"#config","children":[]},{"level":3,"title":"配置","slug":"配置","link":"#配置","children":[]}]},{"level":2,"title":"Deployment","slug":"deployment","link":"#deployment","children":[]},{"level":2,"title":"部署","slug":"部署","link":"#部署","children":[]},{"level":2,"title":"Upgrading","slug":"upgrading","link":"#upgrading","children":[]},{"level":2,"title":"升级","slug":"升级","link":"#升级","children":[{"level":3,"title":"pnpm","slug":"pnpm","link":"#pnpm","children":[]}]},{"level":2,"title":"迁移","slug":"迁移","link":"#迁移","children":[]},{"level":2,"title":"Directory Structure","slug":"directory-structure","link":"#directory-structure","children":[]},{"level":2,"title":"目录结构","slug":"目录结构","link":"#目录结构","children":[{"level":3,"title":"Main folders","slug":"main-folders","link":"#main-folders","children":[]},{"level":3,"title":"主要的文件夹","slug":"主要的文件夹","link":"#主要的文件夹","children":[]},{"level":3,"title":"Others","slug":"others","link":"#others","children":[]},{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]}]},{"level":2,"title":"Themes","slug":"themes","link":"#themes","children":[]},{"level":2,"title":"主题","slug":"主题","link":"#主题","children":[]},{"level":2,"title":"Community","slug":"community","link":"#community","children":[]},{"level":2,"title":"社区","slug":"社区","link":"#社区","children":[]}],"relativePath":"pages/guide/getting-started.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\getting-started.md","lastUpdated":1698506898000}');
|
|
202
|
-
const _sfc_main = {
|
|
203
|
-
name: "pages/guide/getting-started.md",
|
|
204
|
-
data() {
|
|
205
|
-
return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
|
|
206
|
-
},
|
|
207
|
-
setup() {
|
|
208
|
-
const route = useRoute();
|
|
209
|
-
route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
|
|
210
|
-
provide("pageData", data);
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
214
|
-
const _component_ValaxyMain = __unplugin_components_0;
|
|
215
|
-
const _component_AppLink = _sfc_main$2;
|
|
216
|
-
const _component_CreateValaxyTooltip = _sfc_main$1;
|
|
217
|
-
_push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
|
|
218
|
-
frontmatter: $data.frontmatter,
|
|
219
|
-
data: $data.data
|
|
220
|
-
}, _attrs), {
|
|
221
|
-
"main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
222
|
-
if (_push2) {
|
|
223
|
-
_push2(`<h2 lang="en" id="overview" tabindex="-1"${_scopeId}>Overview `);
|
|
224
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
225
|
-
class: "header-anchor",
|
|
226
|
-
href: "#overview",
|
|
227
|
-
"aria-label": 'Permalink to "Overview {lang="en"}"'
|
|
228
|
-
}, {
|
|
229
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
230
|
-
if (_push3) {
|
|
231
|
-
_push3(``);
|
|
232
|
-
} else {
|
|
233
|
-
return [
|
|
234
|
-
createTextVNode("")
|
|
235
|
-
];
|
|
236
|
-
}
|
|
237
|
-
}),
|
|
238
|
-
_: 1
|
|
239
|
-
/* STABLE */
|
|
240
|
-
}, _parent2, _scopeId));
|
|
241
|
-
_push2(`</h2><h2 lang="zh-CN" id="总览" tabindex="-1"${_scopeId}>总览 `);
|
|
242
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
243
|
-
class: "header-anchor",
|
|
244
|
-
href: "#总览",
|
|
245
|
-
"aria-label": 'Permalink to "总览 {lang="zh-CN"}"'
|
|
246
|
-
}, {
|
|
247
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
248
|
-
if (_push3) {
|
|
249
|
-
_push3(``);
|
|
250
|
-
} else {
|
|
251
|
-
return [
|
|
252
|
-
createTextVNode("")
|
|
253
|
-
];
|
|
254
|
-
}
|
|
255
|
-
}),
|
|
256
|
-
_: 1
|
|
257
|
-
/* STABLE */
|
|
258
|
-
}, _parent2, _scopeId));
|
|
259
|
-
_push2(`</h2><div lang="zh-CN"${_scopeId}><p${_scopeId}><span text-purple-600 font="bold"${_scopeId}>Valaxy</span> <span bg="$va-c-bg-soft" font="bold" px-2 py-1 rounded text-sm${_scopeId}>= V + <span op="30"${_scopeId}>G</span>alaxy</span> 旨在成为下一代静态博客框架,提供更好的热更新与用户加载体验、更强大更便捷的自定义开发可能性。</p><p${_scopeId}>你可以在 `);
|
|
260
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/why" }, {
|
|
261
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
262
|
-
if (_push3) {
|
|
263
|
-
_push3(`为什么选 Valaxy`);
|
|
264
|
-
} else {
|
|
265
|
-
return [
|
|
266
|
-
createTextVNode("为什么选 Valaxy")
|
|
267
|
-
];
|
|
268
|
-
}
|
|
269
|
-
}),
|
|
270
|
-
_: 1
|
|
271
|
-
/* STABLE */
|
|
272
|
-
}, _parent2, _scopeId));
|
|
273
|
-
_push2(` 中了解更多关于项目的设计初衷。</p><div class="tip custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-thumbs-up"${_scopeId}></i><span lang="en"${_scopeId}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}><code${_scopeId}>Valaxy</code> 基于 `);
|
|
274
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
275
|
-
href: "https://vitejs.dev/",
|
|
276
|
-
target: "_blank",
|
|
277
|
-
rel: "noreferrer"
|
|
278
|
-
}, {
|
|
279
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
280
|
-
if (_push3) {
|
|
281
|
-
_push3(`Vite`);
|
|
282
|
-
} else {
|
|
283
|
-
return [
|
|
284
|
-
createTextVNode("Vite")
|
|
285
|
-
];
|
|
286
|
-
}
|
|
287
|
-
}),
|
|
288
|
-
_: 1
|
|
289
|
-
/* STABLE */
|
|
290
|
-
}, _parent2, _scopeId));
|
|
291
|
-
_push2(` 提供热更新与打包等功能,基于 `);
|
|
292
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
293
|
-
href: "https://vuejs.org/",
|
|
294
|
-
target: "_blank",
|
|
295
|
-
rel: "noreferrer"
|
|
296
|
-
}, {
|
|
297
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
298
|
-
if (_push3) {
|
|
299
|
-
_push3(`Vue`);
|
|
300
|
-
} else {
|
|
301
|
-
return [
|
|
302
|
-
createTextVNode("Vue")
|
|
303
|
-
];
|
|
304
|
-
}
|
|
305
|
-
}),
|
|
306
|
-
_: 1
|
|
307
|
-
/* STABLE */
|
|
308
|
-
}, _parent2, _scopeId));
|
|
309
|
-
_push2(` 实现视图(如主题、自定义组件)等客户端功能。</p><p${_scopeId}>因此 Valaxy 兼容并可自由使用 Vite 与 Vue 生态的所有插件。</p></div></div><div lang="en"${_scopeId}><p${_scopeId}><span text-purple-600 font="bold"${_scopeId}>Valaxy</span> <span bg="$va-c-bg-soft" font="bold" px-2 py-1 rounded text-sm${_scopeId}>= V + <span op="30"${_scopeId}>G</span>alaxy</span> aims for the next generation static blog framework, providing better hot reloading and user loading experience, with easier and powerful customization support.</p><p${_scopeId}>You can learn more about the original intensions for this project in `);
|
|
310
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/why" }, {
|
|
311
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
312
|
-
if (_push3) {
|
|
313
|
-
_push3(`Why Valaxy`);
|
|
314
|
-
} else {
|
|
315
|
-
return [
|
|
316
|
-
createTextVNode("Why Valaxy")
|
|
317
|
-
];
|
|
318
|
-
}
|
|
319
|
-
}),
|
|
320
|
-
_: 1
|
|
321
|
-
/* STABLE */
|
|
322
|
-
}, _parent2, _scopeId));
|
|
323
|
-
_push2(`.</p><div class="tip custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-thumbs-up"${_scopeId}></i><span lang="en"${_scopeId}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}><code${_scopeId}>Valaxy</code> is based on `);
|
|
324
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
325
|
-
href: "https://vitejs.dev/",
|
|
326
|
-
target: "_blank",
|
|
327
|
-
rel: "noreferrer"
|
|
328
|
-
}, {
|
|
329
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
330
|
-
if (_push3) {
|
|
331
|
-
_push3(`Vite`);
|
|
332
|
-
} else {
|
|
333
|
-
return [
|
|
334
|
-
createTextVNode("Vite")
|
|
335
|
-
];
|
|
336
|
-
}
|
|
337
|
-
}),
|
|
338
|
-
_: 1
|
|
339
|
-
/* STABLE */
|
|
340
|
-
}, _parent2, _scopeId));
|
|
341
|
-
_push2(` to provide hot reloading and packaging, and based on `);
|
|
342
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
343
|
-
href: "https://vuejs.org/",
|
|
344
|
-
target: "_blank",
|
|
345
|
-
rel: "noreferrer"
|
|
346
|
-
}, {
|
|
347
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
348
|
-
if (_push3) {
|
|
349
|
-
_push3(`Vue`);
|
|
350
|
-
} else {
|
|
351
|
-
return [
|
|
352
|
-
createTextVNode("Vue")
|
|
353
|
-
];
|
|
354
|
-
}
|
|
355
|
-
}),
|
|
356
|
-
_: 1
|
|
357
|
-
/* STABLE */
|
|
358
|
-
}, _parent2, _scopeId));
|
|
359
|
-
_push2(` to realize client functionalities such as views (themes, custom components).</p><p${_scopeId}>Therefore, Valaxy supports all extensions/plugins for Vite and Vue.</p></div></div><h2 lang="en" id="create-a-valaxy-project" tabindex="-1"${_scopeId}>Create a Valaxy Project `);
|
|
360
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
361
|
-
class: "header-anchor",
|
|
362
|
-
href: "#create-a-valaxy-project",
|
|
363
|
-
"aria-label": 'Permalink to "Create a Valaxy Project {lang="en"}"'
|
|
364
|
-
}, {
|
|
365
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
366
|
-
if (_push3) {
|
|
367
|
-
_push3(``);
|
|
368
|
-
} else {
|
|
369
|
-
return [
|
|
370
|
-
createTextVNode("")
|
|
371
|
-
];
|
|
372
|
-
}
|
|
373
|
-
}),
|
|
374
|
-
_: 1
|
|
375
|
-
/* STABLE */
|
|
376
|
-
}, _parent2, _scopeId));
|
|
377
|
-
_push2(`</h2><h2 lang="zh-CN" id="创建-valaxy-项目" tabindex="-1"${_scopeId}>创建 Valaxy 项目 `);
|
|
378
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
379
|
-
class: "header-anchor",
|
|
380
|
-
href: "#创建-valaxy-项目",
|
|
381
|
-
"aria-label": 'Permalink to "创建 Valaxy 项目 {lang="zh-CN"}"'
|
|
382
|
-
}, {
|
|
383
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
384
|
-
if (_push3) {
|
|
385
|
-
_push3(``);
|
|
386
|
-
} else {
|
|
387
|
-
return [
|
|
388
|
-
createTextVNode("")
|
|
389
|
-
];
|
|
390
|
-
}
|
|
391
|
-
}),
|
|
392
|
-
_: 1
|
|
393
|
-
/* STABLE */
|
|
394
|
-
}, _parent2, _scopeId));
|
|
395
|
-
_push2(`</h2><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>Example: `);
|
|
396
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
397
|
-
href: "https://yun.valaxy.site",
|
|
398
|
-
target: "_blank",
|
|
399
|
-
rel: "noreferrer"
|
|
400
|
-
}, {
|
|
401
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
402
|
-
if (_push3) {
|
|
403
|
-
_push3(`yun.valaxy.site`);
|
|
404
|
-
} else {
|
|
405
|
-
return [
|
|
406
|
-
createTextVNode("yun.valaxy.site")
|
|
407
|
-
];
|
|
408
|
-
}
|
|
409
|
-
}),
|
|
410
|
-
_: 1
|
|
411
|
-
/* STABLE */
|
|
412
|
-
}, _parent2, _scopeId));
|
|
413
|
-
_push2(`</p></blockquote></div><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>示例: `);
|
|
414
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
415
|
-
href: "https://yun.valaxy.site",
|
|
416
|
-
target: "_blank",
|
|
417
|
-
rel: "noreferrer"
|
|
418
|
-
}, {
|
|
419
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
420
|
-
if (_push3) {
|
|
421
|
-
_push3(`yun.valaxy.site`);
|
|
422
|
-
} else {
|
|
423
|
-
return [
|
|
424
|
-
createTextVNode("yun.valaxy.site")
|
|
425
|
-
];
|
|
426
|
-
}
|
|
427
|
-
}),
|
|
428
|
-
_: 1
|
|
429
|
-
/* STABLE */
|
|
430
|
-
}, _parent2, _scopeId));
|
|
431
|
-
_push2(`</p></blockquote></div><h3 lang="en" id="try-it-online" tabindex="-1"${_scopeId}>Try it Online `);
|
|
432
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
433
|
-
class: "header-anchor",
|
|
434
|
-
href: "#try-it-online",
|
|
435
|
-
"aria-label": 'Permalink to "Try it Online {lang="en"}"'
|
|
436
|
-
}, {
|
|
437
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
438
|
-
if (_push3) {
|
|
439
|
-
_push3(``);
|
|
440
|
-
} else {
|
|
441
|
-
return [
|
|
442
|
-
createTextVNode("")
|
|
443
|
-
];
|
|
444
|
-
}
|
|
445
|
-
}),
|
|
446
|
-
_: 1
|
|
447
|
-
/* STABLE */
|
|
448
|
-
}, _parent2, _scopeId));
|
|
449
|
-
_push2(`</h3><h3 lang="zh-CN" id="在线试用" tabindex="-1"${_scopeId}>在线试用 `);
|
|
450
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
451
|
-
class: "header-anchor",
|
|
452
|
-
href: "#在线试用",
|
|
453
|
-
"aria-label": 'Permalink to "在线试用 {lang="zh-CN"}"'
|
|
454
|
-
}, {
|
|
455
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
456
|
-
if (_push3) {
|
|
457
|
-
_push3(``);
|
|
458
|
-
} else {
|
|
459
|
-
return [
|
|
460
|
-
createTextVNode("")
|
|
461
|
-
];
|
|
462
|
-
}
|
|
463
|
-
}),
|
|
464
|
-
_: 1
|
|
465
|
-
/* STABLE */
|
|
466
|
-
}, _parent2, _scopeId));
|
|
467
|
-
_push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>你可以通过 `);
|
|
468
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
469
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
470
|
-
target: "_blank",
|
|
471
|
-
rel: "noreferrer"
|
|
472
|
-
}, {
|
|
473
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
474
|
-
if (_push3) {
|
|
475
|
-
_push3(`StackBlitz`);
|
|
476
|
-
} else {
|
|
477
|
-
return [
|
|
478
|
-
createTextVNode("StackBlitz")
|
|
479
|
-
];
|
|
480
|
-
}
|
|
481
|
-
}),
|
|
482
|
-
_: 1
|
|
483
|
-
/* STABLE */
|
|
484
|
-
}, _parent2, _scopeId));
|
|
485
|
-
_push2(` 在线试用 Valaxy(默认使用主题 `);
|
|
486
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
487
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
488
|
-
target: "_blank",
|
|
489
|
-
rel: "noreferrer"
|
|
490
|
-
}, {
|
|
491
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
492
|
-
if (_push3) {
|
|
493
|
-
_push3(`valaxy-theme-yun`);
|
|
494
|
-
} else {
|
|
495
|
-
return [
|
|
496
|
-
createTextVNode("valaxy-theme-yun")
|
|
497
|
-
];
|
|
498
|
-
}
|
|
499
|
-
}),
|
|
500
|
-
_: 1
|
|
501
|
-
/* STABLE */
|
|
502
|
-
}, _parent2, _scopeId));
|
|
503
|
-
_push2(`)。</p><figure${_scopeId}>`);
|
|
504
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
505
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
506
|
-
target: "_blank",
|
|
507
|
-
rel: "noreferrer"
|
|
508
|
-
}, {
|
|
509
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
510
|
-
if (_push3) {
|
|
511
|
-
_push3(`<img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt="StackBlitz" loading="lazy" decoding="async"${_scopeId2}>`);
|
|
512
|
-
} else {
|
|
513
|
-
return [
|
|
514
|
-
createVNode("img", {
|
|
515
|
-
src: "https://developer.stackblitz.com/img/open_in_stackblitz.svg",
|
|
516
|
-
alt: "StackBlitz",
|
|
517
|
-
loading: "lazy",
|
|
518
|
-
decoding: "async"
|
|
519
|
-
})
|
|
520
|
-
];
|
|
521
|
-
}
|
|
522
|
-
}),
|
|
523
|
-
_: 1
|
|
524
|
-
/* STABLE */
|
|
525
|
-
}, _parent2, _scopeId));
|
|
526
|
-
_push2(`</figure><blockquote${_scopeId}><p${_scopeId}>这是一个极简项目,您仅需以下几个文件,就可以快速搭建好你的博客!</p><ul${_scopeId}><li${_scopeId}><code${_scopeId}>pages</code> 文件夹:存放页面/文章</li><li${_scopeId}><code${_scopeId}>valaxy.config.ts</code> Valaxy 配置文件</li><li${_scopeId}><code${_scopeId}>package.json</code> 记录依赖</li></ul></blockquote></div><div lang="en"${_scopeId}><p${_scopeId}>You can use `);
|
|
527
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
528
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
529
|
-
target: "_blank",
|
|
530
|
-
rel: "noreferrer"
|
|
531
|
-
}, {
|
|
532
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
533
|
-
if (_push3) {
|
|
534
|
-
_push3(`StackBlitz`);
|
|
535
|
-
} else {
|
|
536
|
-
return [
|
|
537
|
-
createTextVNode("StackBlitz")
|
|
538
|
-
];
|
|
539
|
-
}
|
|
540
|
-
}),
|
|
541
|
-
_: 1
|
|
542
|
-
/* STABLE */
|
|
543
|
-
}, _parent2, _scopeId));
|
|
544
|
-
_push2(` to try Valaxy online (the default theme used is `);
|
|
545
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
546
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
547
|
-
target: "_blank",
|
|
548
|
-
rel: "noreferrer"
|
|
549
|
-
}, {
|
|
550
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
551
|
-
if (_push3) {
|
|
552
|
-
_push3(`valaxy-theme-yun`);
|
|
553
|
-
} else {
|
|
554
|
-
return [
|
|
555
|
-
createTextVNode("valaxy-theme-yun")
|
|
556
|
-
];
|
|
557
|
-
}
|
|
558
|
-
}),
|
|
559
|
-
_: 1
|
|
560
|
-
/* STABLE */
|
|
561
|
-
}, _parent2, _scopeId));
|
|
562
|
-
_push2(`).</p><figure${_scopeId}>`);
|
|
563
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
564
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
565
|
-
target: "_blank",
|
|
566
|
-
rel: "noreferrer"
|
|
567
|
-
}, {
|
|
568
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
569
|
-
if (_push3) {
|
|
570
|
-
_push3(`<img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt="StackBlitz" loading="lazy" decoding="async"${_scopeId2}>`);
|
|
571
|
-
} else {
|
|
572
|
-
return [
|
|
573
|
-
createVNode("img", {
|
|
574
|
-
src: "https://developer.stackblitz.com/img/open_in_stackblitz.svg",
|
|
575
|
-
alt: "StackBlitz",
|
|
576
|
-
loading: "lazy",
|
|
577
|
-
decoding: "async"
|
|
578
|
-
})
|
|
579
|
-
];
|
|
580
|
-
}
|
|
581
|
-
}),
|
|
582
|
-
_: 1
|
|
583
|
-
/* STABLE */
|
|
584
|
-
}, _parent2, _scopeId));
|
|
585
|
-
_push2(`</figure><blockquote${_scopeId}><p${_scopeId}>This is an extremely simple project. You only need the following files to rapidly build your own blog!</p><ul${_scopeId}><li${_scopeId}><code${_scopeId}>pages</code> folder: storing the pages/posts</li><li${_scopeId}><code${_scopeId}>valaxy.config.ts</code>: Valaxy's configuration file</li><li${_scopeId}><code${_scopeId}>package.json</code>: dependencies</li></ul></blockquote></div><h3 lang="en" id="locally" tabindex="-1"${_scopeId}>Locally `);
|
|
586
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
587
|
-
class: "header-anchor",
|
|
588
|
-
href: "#locally",
|
|
589
|
-
"aria-label": 'Permalink to "Locally {lang="en"}"'
|
|
590
|
-
}, {
|
|
591
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
592
|
-
if (_push3) {
|
|
593
|
-
_push3(``);
|
|
594
|
-
} else {
|
|
595
|
-
return [
|
|
596
|
-
createTextVNode("")
|
|
597
|
-
];
|
|
598
|
-
}
|
|
599
|
-
}),
|
|
600
|
-
_: 1
|
|
601
|
-
/* STABLE */
|
|
602
|
-
}, _parent2, _scopeId));
|
|
603
|
-
_push2(`</h3><h3 lang="zh-CN" id="在本地创建" tabindex="-1"${_scopeId}>在本地创建 `);
|
|
604
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
605
|
-
class: "header-anchor",
|
|
606
|
-
href: "#在本地创建",
|
|
607
|
-
"aria-label": 'Permalink to "在本地创建 {lang="zh-CN"}"'
|
|
608
|
-
}, {
|
|
609
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
610
|
-
if (_push3) {
|
|
611
|
-
_push3(``);
|
|
612
|
-
} else {
|
|
613
|
-
return [
|
|
614
|
-
createTextVNode("")
|
|
615
|
-
];
|
|
616
|
-
}
|
|
617
|
-
}),
|
|
618
|
-
_: 1
|
|
619
|
-
/* STABLE */
|
|
620
|
-
}, _parent2, _scopeId));
|
|
621
|
-
_push2(`</h3><div lang="zh-CN"${_scopeId}><div class="danger custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-warning"${_scopeId}></i><span lang="en"${_scopeId}>兼容</span><span lang="zh-CN"${_scopeId}>兼容</span></p><p${_scopeId}>由于 Vite 要求 `);
|
|
622
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
623
|
-
href: "https://nodejs.org/en/",
|
|
624
|
-
target: "_blank",
|
|
625
|
-
rel: "noreferrer"
|
|
626
|
-
}, {
|
|
627
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
628
|
-
if (_push3) {
|
|
629
|
-
_push3(`Node.js`);
|
|
630
|
-
} else {
|
|
631
|
-
return [
|
|
632
|
-
createTextVNode("Node.js")
|
|
633
|
-
];
|
|
634
|
-
}
|
|
635
|
-
}),
|
|
636
|
-
_: 1
|
|
637
|
-
/* STABLE */
|
|
638
|
-
}, _parent2, _scopeId));
|
|
639
|
-
_push2(` 的版本为 14.18+, 16+,Valaxy 同样需要你将 Node.js 升级至 14.18 版本之后。</p></div><div class="tip custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-thumbs-up"${_scopeId}></i><span lang="en"${_scopeId}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}>如果您是 Windows 用户,我强烈建议您使用类 Unix 的 Shell(如 `);
|
|
640
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
641
|
-
href: "https://git-scm.com/downloads",
|
|
642
|
-
target: "_blank",
|
|
643
|
-
rel: "noreferrer"
|
|
644
|
-
}, {
|
|
645
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
646
|
-
if (_push3) {
|
|
647
|
-
_push3(`Git Bash`);
|
|
648
|
-
} else {
|
|
649
|
-
return [
|
|
650
|
-
createTextVNode("Git Bash")
|
|
651
|
-
];
|
|
652
|
-
}
|
|
653
|
-
}),
|
|
654
|
-
_: 1
|
|
655
|
-
/* STABLE */
|
|
656
|
-
}, _parent2, _scopeId));
|
|
657
|
-
_push2(` 或 `);
|
|
658
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
659
|
-
href: "https://docs.microsoft.com/en-us/windows/wsl/install",
|
|
660
|
-
target: "_blank",
|
|
661
|
-
rel: "noreferrer"
|
|
662
|
-
}, {
|
|
663
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
664
|
-
if (_push3) {
|
|
665
|
-
_push3(`WSL`);
|
|
666
|
-
} else {
|
|
667
|
-
return [
|
|
668
|
-
createTextVNode("WSL")
|
|
669
|
-
];
|
|
670
|
-
}
|
|
671
|
-
}),
|
|
672
|
-
_: 1
|
|
673
|
-
/* STABLE */
|
|
674
|
-
}, _parent2, _scopeId));
|
|
675
|
-
_push2(`),而非 CMD / PowerShell.</p></div><p${_scopeId}>如果您想要在本地创建,只需要执行以下命令:</p></div><div lang="en"${_scopeId}><div class="danger custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-warning"${_scopeId}></i><span lang="en"${_scopeId}>Compatibility Note</span><span lang="zh-CN"${_scopeId}>Compatibility Note</span></p><p${_scopeId}>Vite requires `);
|
|
676
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
677
|
-
href: "https://nodejs.org/en/",
|
|
678
|
-
target: "_blank",
|
|
679
|
-
rel: "noreferrer"
|
|
680
|
-
}, {
|
|
681
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
682
|
-
if (_push3) {
|
|
683
|
-
_push3(`Node.js`);
|
|
684
|
-
} else {
|
|
685
|
-
return [
|
|
686
|
-
createTextVNode("Node.js")
|
|
687
|
-
];
|
|
688
|
-
}
|
|
689
|
-
}),
|
|
690
|
-
_: 1
|
|
691
|
-
/* STABLE */
|
|
692
|
-
}, _parent2, _scopeId));
|
|
693
|
-
_push2(` version 14.18+, 16+. Valaxy also requires you to upgrade Node.js after version 14.18+.</p></div><div class="tip custom-block"${_scopeId}><p class="custom-block-title"${_scopeId}><i class="icon i-carbon-thumbs-up"${_scopeId}></i><span lang="en"${_scopeId}>TIP</span><span lang="zh-CN"${_scopeId}>提示</span></p><p${_scopeId}>If you are a Windows user, I strongly recommend using a Unix-like shell (such as `);
|
|
694
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
695
|
-
href: "https://git-scm.com/downloads",
|
|
696
|
-
target: "_blank",
|
|
697
|
-
rel: "noreferrer"
|
|
698
|
-
}, {
|
|
699
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
700
|
-
if (_push3) {
|
|
701
|
-
_push3(`Git Bash`);
|
|
702
|
-
} else {
|
|
703
|
-
return [
|
|
704
|
-
createTextVNode("Git Bash")
|
|
705
|
-
];
|
|
706
|
-
}
|
|
707
|
-
}),
|
|
708
|
-
_: 1
|
|
709
|
-
/* STABLE */
|
|
710
|
-
}, _parent2, _scopeId));
|
|
711
|
-
_push2(` or `);
|
|
712
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
713
|
-
href: "https://docs.microsoft.com/en-us/windows/wsl/install",
|
|
714
|
-
target: "_blank",
|
|
715
|
-
rel: "noreferrer"
|
|
716
|
-
}, {
|
|
717
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
718
|
-
if (_push3) {
|
|
719
|
-
_push3(`WSL`);
|
|
720
|
-
} else {
|
|
721
|
-
return [
|
|
722
|
-
createTextVNode("WSL")
|
|
723
|
-
];
|
|
724
|
-
}
|
|
725
|
-
}),
|
|
726
|
-
_: 1
|
|
727
|
-
/* STABLE */
|
|
728
|
-
}, _parent2, _scopeId));
|
|
729
|
-
_push2(` rather than CMD / PowerShell.</p></div></div><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>由于 <code${_scopeId}>npm init</code> 会缓存您此前下载的版本,我更推荐您使用 <code${_scopeId}>pnpm</code> 来创建模版。<br${_scopeId}> 安装 `);
|
|
730
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
731
|
-
href: "https://pnpm.io/",
|
|
732
|
-
target: "_blank",
|
|
733
|
-
rel: "noreferrer"
|
|
734
|
-
}, {
|
|
735
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
736
|
-
if (_push3) {
|
|
737
|
-
_push3(`pnpm`);
|
|
738
|
-
} else {
|
|
739
|
-
return [
|
|
740
|
-
createTextVNode("pnpm")
|
|
741
|
-
];
|
|
742
|
-
}
|
|
743
|
-
}),
|
|
744
|
-
_: 1
|
|
745
|
-
/* STABLE */
|
|
746
|
-
}, _parent2, _scopeId));
|
|
747
|
-
_push2(`:<code${_scopeId}>npm i -g pnpm</code></p></blockquote></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>Since <code${_scopeId}>npm init</code> caches your previously downloaded version, I would recommend using <code${_scopeId}>pnpm</code> to create templates.<br${_scopeId}> Install `);
|
|
748
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
749
|
-
href: "https://pnpm.io/",
|
|
750
|
-
target: "_blank",
|
|
751
|
-
rel: "noreferrer"
|
|
752
|
-
}, {
|
|
753
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
754
|
-
if (_push3) {
|
|
755
|
-
_push3(`pnpm`);
|
|
756
|
-
} else {
|
|
757
|
-
return [
|
|
758
|
-
createTextVNode("pnpm")
|
|
759
|
-
];
|
|
760
|
-
}
|
|
761
|
-
}),
|
|
762
|
-
_: 1
|
|
763
|
-
/* STABLE */
|
|
764
|
-
}, _parent2, _scopeId));
|
|
765
|
-
_push2(`:<code${_scopeId}>npm i -g pnpm</code></p></blockquote></div><div class="vp-code-group"${_scopeId}><div class="tabs"${_scopeId}><input type="radio" name="group-wCj0h" id="tab-VV8U5WA" checked="checked"${_scopeId}><label for="tab-VV8U5WA"${_scopeId}>pnpm</label><input type="radio" name="group-wCj0h" id="tab-LCiCDhr"${_scopeId}><label for="tab-LCiCDhr"${_scopeId}>npm</label></div><div class="blocks"${_scopeId}><div class="language-bash active"${_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}>create</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}>create</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy</span></span></code></pre></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}>npm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>init</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}>npm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>init</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy</span></span></code></pre></div></div></div><details class="details custom-block"${_scopeId}><summary${_scopeId}>You will be greeted with a few simple questions.</summary>`);
|
|
766
|
-
_push2(ssrRenderComponent(_component_CreateValaxyTooltip, null, null, _parent2, _scopeId));
|
|
767
|
-
_push2(`</details><div lang="zh-CN"${_scopeId}><p${_scopeId}>跟随命令行提示完成创建!</p><blockquote${_scopeId}><p${_scopeId}>默认使用主题 `);
|
|
768
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
769
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
770
|
-
target: "_blank",
|
|
771
|
-
rel: "noreferrer"
|
|
772
|
-
}, {
|
|
773
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
774
|
-
if (_push3) {
|
|
775
|
-
_push3(`valaxy-theme-yun`);
|
|
776
|
-
} else {
|
|
777
|
-
return [
|
|
778
|
-
createTextVNode("valaxy-theme-yun")
|
|
779
|
-
];
|
|
780
|
-
}
|
|
781
|
-
}),
|
|
782
|
-
_: 1
|
|
783
|
-
/* STABLE */
|
|
784
|
-
}, _parent2, _scopeId));
|
|
785
|
-
_push2(`,当然您也可以安装使用任意其他主题。<br${_scopeId}> 本文档同样是一个 Valaxy 主题 `);
|
|
786
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
787
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-press/",
|
|
788
|
-
target: "_blank",
|
|
789
|
-
rel: "noreferrer"
|
|
790
|
-
}, {
|
|
791
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
792
|
-
if (_push3) {
|
|
793
|
-
_push3(`valaxy-theme-press`);
|
|
794
|
-
} else {
|
|
795
|
-
return [
|
|
796
|
-
createTextVNode("valaxy-theme-press")
|
|
797
|
-
];
|
|
798
|
-
}
|
|
799
|
-
}),
|
|
800
|
-
_: 1
|
|
801
|
-
/* STABLE */
|
|
802
|
-
}, _parent2, _scopeId));
|
|
803
|
-
_push2(`,它的灵感来自 `);
|
|
804
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
805
|
-
href: "https://vitepress.dev/",
|
|
806
|
-
target: "_blank",
|
|
807
|
-
rel: "noreferrer"
|
|
808
|
-
}, {
|
|
809
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
810
|
-
if (_push3) {
|
|
811
|
-
_push3(`VitePress`);
|
|
812
|
-
} else {
|
|
813
|
-
return [
|
|
814
|
-
createTextVNode("VitePress")
|
|
815
|
-
];
|
|
816
|
-
}
|
|
817
|
-
}),
|
|
818
|
-
_: 1
|
|
819
|
-
/* STABLE */
|
|
820
|
-
}, _parent2, _scopeId));
|
|
821
|
-
_push2(`。</p></blockquote></div><div lang="en"${_scopeId}><p${_scopeId}>Follow the prompt in the commandline to complete the process!</p><blockquote${_scopeId}><p${_scopeId}>The default theme used is `);
|
|
822
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
823
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
824
|
-
target: "_blank",
|
|
825
|
-
rel: "noreferrer"
|
|
826
|
-
}, {
|
|
827
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
828
|
-
if (_push3) {
|
|
829
|
-
_push3(`valaxy-theme-yun`);
|
|
830
|
-
} else {
|
|
831
|
-
return [
|
|
832
|
-
createTextVNode("valaxy-theme-yun")
|
|
833
|
-
];
|
|
834
|
-
}
|
|
835
|
-
}),
|
|
836
|
-
_: 1
|
|
837
|
-
/* STABLE */
|
|
838
|
-
}, _parent2, _scopeId));
|
|
839
|
-
_push2(`, but you can also install any other themes.<br${_scopeId}> This documentation is also a Valaxy theme: `);
|
|
840
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
841
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-press/",
|
|
842
|
-
target: "_blank",
|
|
843
|
-
rel: "noreferrer"
|
|
844
|
-
}, {
|
|
845
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
846
|
-
if (_push3) {
|
|
847
|
-
_push3(`valaxy-theme-press`);
|
|
848
|
-
} else {
|
|
849
|
-
return [
|
|
850
|
-
createTextVNode("valaxy-theme-press")
|
|
851
|
-
];
|
|
852
|
-
}
|
|
853
|
-
}),
|
|
854
|
-
_: 1
|
|
855
|
-
/* STABLE */
|
|
856
|
-
}, _parent2, _scopeId));
|
|
857
|
-
_push2(`. It is inspired by `);
|
|
858
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
859
|
-
href: "https://vitepress.dev/",
|
|
860
|
-
target: "_blank",
|
|
861
|
-
rel: "noreferrer"
|
|
862
|
-
}, {
|
|
863
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
864
|
-
if (_push3) {
|
|
865
|
-
_push3(`VitePress`);
|
|
866
|
-
} else {
|
|
867
|
-
return [
|
|
868
|
-
createTextVNode("VitePress")
|
|
869
|
-
];
|
|
870
|
-
}
|
|
871
|
-
}),
|
|
872
|
-
_: 1
|
|
873
|
-
/* STABLE */
|
|
874
|
-
}, _parent2, _scopeId));
|
|
875
|
-
_push2(`.</p></blockquote></div><h2 lang="en" id="usage" tabindex="-1"${_scopeId}>Usage `);
|
|
876
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
877
|
-
class: "header-anchor",
|
|
878
|
-
href: "#usage",
|
|
879
|
-
"aria-label": 'Permalink to "Usage {lang="en"}"'
|
|
880
|
-
}, {
|
|
881
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
882
|
-
if (_push3) {
|
|
883
|
-
_push3(``);
|
|
884
|
-
} else {
|
|
885
|
-
return [
|
|
886
|
-
createTextVNode("")
|
|
887
|
-
];
|
|
888
|
-
}
|
|
889
|
-
}),
|
|
890
|
-
_: 1
|
|
891
|
-
/* STABLE */
|
|
892
|
-
}, _parent2, _scopeId));
|
|
893
|
-
_push2(`</h2><h2 lang="zh-CN" id="使用" tabindex="-1"${_scopeId}>使用 `);
|
|
894
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
895
|
-
class: "header-anchor",
|
|
896
|
-
href: "#使用",
|
|
897
|
-
"aria-label": 'Permalink to "使用 {lang="zh-CN"}"'
|
|
898
|
-
}, {
|
|
899
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
900
|
-
if (_push3) {
|
|
901
|
-
_push3(``);
|
|
902
|
-
} else {
|
|
903
|
-
return [
|
|
904
|
-
createTextVNode("")
|
|
905
|
-
];
|
|
906
|
-
}
|
|
907
|
-
}),
|
|
908
|
-
_: 1
|
|
909
|
-
/* STABLE */
|
|
910
|
-
}, _parent2, _scopeId));
|
|
911
|
-
_push2(`</h2><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>进入你创建好后的文件夹目录后,执行以下命令。 譬如:<code${_scopeId}>cd valaxy-blog</code>。</p></blockquote><p${_scopeId}>安装依赖:</p></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>Enter the folder for the Valaxy project you just created, and execute the following commands. For example: <code${_scopeId}>cd valaxy-blog</code>.</p></blockquote><p${_scopeId}>Install the dependencies:</p></div><div class="vp-code-group"${_scopeId}><div class="tabs"${_scopeId}><input type="radio" name="group-Tv-yj" id="tab-xJtmfSS" checked="checked"${_scopeId}><label for="tab-xJtmfSS"${_scopeId}>pnpm</label><input type="radio" name="group-Tv-yj" id="tab-11m7NN2"${_scopeId}><label for="tab-11m7NN2"${_scopeId}>npm</label></div><div class="blocks"${_scopeId}><div class="language-bash active"${_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": "#6A737D" })}"${_scopeId}># install</span></span>
|
|
912
|
-
<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}>i</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># install</span></span>
|
|
913
|
-
<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}>i</span></span></code></pre></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": "#6A737D" })}"${_scopeId}># install</span></span>
|
|
914
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>i</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># install</span></span>
|
|
915
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>i</span></span></code></pre></div></div></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>启动预览:</p></div><div lang="en"${_scopeId}><p${_scopeId}>Start a preview:</p></div><div class="vp-code-group"${_scopeId}><div class="tabs"${_scopeId}><input type="radio" name="group-dJInC" id="tab-LaEzfc-" checked="checked"${_scopeId}><label for="tab-LaEzfc-"${_scopeId}>pnpm</label><input type="radio" name="group-dJInC" id="tab-P5smWPf"${_scopeId}><label for="tab-P5smWPf"${_scopeId}>npm</label></div><div class="blocks"${_scopeId}><div class="language-bash active"${_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": "#6A737D" })}"${_scopeId}># start</span></span>
|
|
916
|
-
<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}>dev</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># start</span></span>
|
|
917
|
-
<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}>dev</span></span></code></pre></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": "#6A737D" })}"${_scopeId}># start</span></span>
|
|
918
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>run</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>dev</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># start</span></span>
|
|
919
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>run</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>dev</span></span></code></pre></div></div></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>博客创建完毕,查看本地 <code${_scopeId}>http://localhost:4859/</code>,玩的开心!</p><ul${_scopeId}><li${_scopeId}>Valaxy 博客通用的配置可参见 `);
|
|
920
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/config/" }, {
|
|
921
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
922
|
-
if (_push3) {
|
|
923
|
-
_push3(`配置`);
|
|
924
|
-
} else {
|
|
925
|
-
return [
|
|
926
|
-
createTextVNode("配置")
|
|
927
|
-
];
|
|
928
|
-
}
|
|
929
|
-
}),
|
|
930
|
-
_: 1
|
|
931
|
-
/* STABLE */
|
|
932
|
-
}, _parent2, _scopeId));
|
|
933
|
-
_push2(` 与 `);
|
|
934
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/custom/extend" }, {
|
|
935
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
936
|
-
if (_push3) {
|
|
937
|
-
_push3(`自定义扩展`);
|
|
938
|
-
} else {
|
|
939
|
-
return [
|
|
940
|
-
createTextVNode("自定义扩展")
|
|
941
|
-
];
|
|
942
|
-
}
|
|
943
|
-
}),
|
|
944
|
-
_: 1
|
|
945
|
-
/* STABLE */
|
|
946
|
-
}, _parent2, _scopeId));
|
|
947
|
-
_push2(`。</li><li${_scopeId}>Valaxy 主题独有配置请参见对应主题文档。(Valaxy Theme Yun 主题文档编写中……)</li></ul></div><div lang="en"${_scopeId}><p${_scopeId}>See <code${_scopeId}>http://localhost:4859/</code>, have fun!</p><ul${_scopeId}><li${_scopeId}>See `);
|
|
948
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/config/" }, {
|
|
949
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
950
|
-
if (_push3) {
|
|
951
|
-
_push3(`Config`);
|
|
952
|
-
} else {
|
|
953
|
-
return [
|
|
954
|
-
createTextVNode("Config")
|
|
955
|
-
];
|
|
956
|
-
}
|
|
957
|
-
}),
|
|
958
|
-
_: 1
|
|
959
|
-
/* STABLE */
|
|
960
|
-
}, _parent2, _scopeId));
|
|
961
|
-
_push2(` and `);
|
|
962
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/custom/extend" }, {
|
|
963
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
964
|
-
if (_push3) {
|
|
965
|
-
_push3(`Custom Extensions`);
|
|
966
|
-
} else {
|
|
967
|
-
return [
|
|
968
|
-
createTextVNode("Custom Extensions")
|
|
969
|
-
];
|
|
970
|
-
}
|
|
971
|
-
}),
|
|
972
|
-
_: 1
|
|
973
|
-
/* STABLE */
|
|
974
|
-
}, _parent2, _scopeId));
|
|
975
|
-
_push2(` for the general configuration for Valaxy blogs.</li><li${_scopeId}>For configuring Valaxy themes, please see the documentation for the corresponding themes. (Docs for Valaxy Theme Yun is still work in progress)</li></ul></div><h3 lang="en" id="config" tabindex="-1"${_scopeId}>Config `);
|
|
976
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
977
|
-
class: "header-anchor",
|
|
978
|
-
href: "#config",
|
|
979
|
-
"aria-label": 'Permalink to "Config {lang="en"}"'
|
|
980
|
-
}, {
|
|
981
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
982
|
-
if (_push3) {
|
|
983
|
-
_push3(``);
|
|
984
|
-
} else {
|
|
985
|
-
return [
|
|
986
|
-
createTextVNode("")
|
|
987
|
-
];
|
|
988
|
-
}
|
|
989
|
-
}),
|
|
990
|
-
_: 1
|
|
991
|
-
/* STABLE */
|
|
992
|
-
}, _parent2, _scopeId));
|
|
993
|
-
_push2(`</h3><h3 lang="zh-CN" id="配置" tabindex="-1"${_scopeId}>配置 `);
|
|
994
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
995
|
-
class: "header-anchor",
|
|
996
|
-
href: "#配置",
|
|
997
|
-
"aria-label": 'Permalink to "配置 {lang="zh-CN"}"'
|
|
998
|
-
}, {
|
|
999
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1000
|
-
if (_push3) {
|
|
1001
|
-
_push3(``);
|
|
1002
|
-
} else {
|
|
1003
|
-
return [
|
|
1004
|
-
createTextVNode("")
|
|
1005
|
-
];
|
|
1006
|
-
}
|
|
1007
|
-
}),
|
|
1008
|
-
_: 1
|
|
1009
|
-
/* STABLE */
|
|
1010
|
-
}, _parent2, _scopeId));
|
|
1011
|
-
_push2(`</h3><div lang="en"${_scopeId}><p${_scopeId}>Modify <code${_scopeId}>valaxy.config.ts</code> to custom your blog.</p><p${_scopeId}>Documentation is being improved!</p></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>修改 <code${_scopeId}>valaxy.config.ts</code> 来自定义你的博客吧。</p><p${_scopeId}>文档正在不断完善中!</p></div><h2 lang="en" id="deployment" tabindex="-1"${_scopeId}>Deployment `);
|
|
1012
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1013
|
-
class: "header-anchor",
|
|
1014
|
-
href: "#deployment",
|
|
1015
|
-
"aria-label": 'Permalink to "Deployment {lang="en"}"'
|
|
1016
|
-
}, {
|
|
1017
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1018
|
-
if (_push3) {
|
|
1019
|
-
_push3(``);
|
|
1020
|
-
} else {
|
|
1021
|
-
return [
|
|
1022
|
-
createTextVNode("")
|
|
1023
|
-
];
|
|
1024
|
-
}
|
|
1025
|
-
}),
|
|
1026
|
-
_: 1
|
|
1027
|
-
/* STABLE */
|
|
1028
|
-
}, _parent2, _scopeId));
|
|
1029
|
-
_push2(`</h2><h2 lang="zh-CN" id="部署" tabindex="-1"${_scopeId}>部署 `);
|
|
1030
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1031
|
-
class: "header-anchor",
|
|
1032
|
-
href: "#部署",
|
|
1033
|
-
"aria-label": 'Permalink to "部署 {lang="zh-CN"}"'
|
|
1034
|
-
}, {
|
|
1035
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1036
|
-
if (_push3) {
|
|
1037
|
-
_push3(``);
|
|
1038
|
-
} else {
|
|
1039
|
-
return [
|
|
1040
|
-
createTextVNode("")
|
|
1041
|
-
];
|
|
1042
|
-
}
|
|
1043
|
-
}),
|
|
1044
|
-
_: 1
|
|
1045
|
-
/* STABLE */
|
|
1046
|
-
}, _parent2, _scopeId));
|
|
1047
|
-
_push2(`</h2><div lang="zh-CN"${_scopeId}><p${_scopeId}>部署可参见 `);
|
|
1048
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/deploy" }, {
|
|
1049
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1050
|
-
if (_push3) {
|
|
1051
|
-
_push3(`部署|指南`);
|
|
1052
|
-
} else {
|
|
1053
|
-
return [
|
|
1054
|
-
createTextVNode("部署|指南")
|
|
1055
|
-
];
|
|
1056
|
-
}
|
|
1057
|
-
}),
|
|
1058
|
-
_: 1
|
|
1059
|
-
/* STABLE */
|
|
1060
|
-
}, _parent2, _scopeId));
|
|
1061
|
-
_push2(`。</p></div><div lang="en"${_scopeId}><p${_scopeId}>See `);
|
|
1062
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/deploy" }, {
|
|
1063
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1064
|
-
if (_push3) {
|
|
1065
|
-
_push3(`Deployment`);
|
|
1066
|
-
} else {
|
|
1067
|
-
return [
|
|
1068
|
-
createTextVNode("Deployment")
|
|
1069
|
-
];
|
|
1070
|
-
}
|
|
1071
|
-
}),
|
|
1072
|
-
_: 1
|
|
1073
|
-
/* STABLE */
|
|
1074
|
-
}, _parent2, _scopeId));
|
|
1075
|
-
_push2(` for deployment guide.</p></div><h2 lang="en" id="upgrading" tabindex="-1"${_scopeId}>Upgrading `);
|
|
1076
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1077
|
-
class: "header-anchor",
|
|
1078
|
-
href: "#upgrading",
|
|
1079
|
-
"aria-label": 'Permalink to "Upgrading {lang="en"}"'
|
|
1080
|
-
}, {
|
|
1081
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1082
|
-
if (_push3) {
|
|
1083
|
-
_push3(``);
|
|
1084
|
-
} else {
|
|
1085
|
-
return [
|
|
1086
|
-
createTextVNode("")
|
|
1087
|
-
];
|
|
1088
|
-
}
|
|
1089
|
-
}),
|
|
1090
|
-
_: 1
|
|
1091
|
-
/* STABLE */
|
|
1092
|
-
}, _parent2, _scopeId));
|
|
1093
|
-
_push2(`</h2><h2 lang="zh-CN" id="升级" tabindex="-1"${_scopeId}>升级 `);
|
|
1094
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1095
|
-
class: "header-anchor",
|
|
1096
|
-
href: "#升级",
|
|
1097
|
-
"aria-label": 'Permalink to "升级 {lang="zh-CN"}"'
|
|
1098
|
-
}, {
|
|
1099
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1100
|
-
if (_push3) {
|
|
1101
|
-
_push3(``);
|
|
1102
|
-
} else {
|
|
1103
|
-
return [
|
|
1104
|
-
createTextVNode("")
|
|
1105
|
-
];
|
|
1106
|
-
}
|
|
1107
|
-
}),
|
|
1108
|
-
_: 1
|
|
1109
|
-
/* STABLE */
|
|
1110
|
-
}, _parent2, _scopeId));
|
|
1111
|
-
_push2(`</h2><div class="vp-code-group"${_scopeId}><div class="tabs"${_scopeId}><input type="radio" name="group-9onqe" id="tab-AuoWnPV" checked="checked"${_scopeId}><label for="tab-AuoWnPV"${_scopeId}>pnpm</label><input type="radio" name="group-9onqe" id="tab-DVgkceN"${_scopeId}><label for="tab-DVgkceN"${_scopeId}>npm</label></div><div class="blocks"${_scopeId}><div class="language-bash active"${_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": "#79B8FF" })}"${_scopeId}>cd</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>your-blog</span></span>
|
|
1112
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade valaxy</span></span>
|
|
1113
|
-
<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": "#9ECBFF" })}"${_scopeId}>valaxy@latest</span></span>
|
|
1114
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade theme</span></span>
|
|
1115
|
-
<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": "#9ECBFF" })}"${_scopeId}>valaxy-theme-yun@latest</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>cd</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>your-blog</span></span>
|
|
1116
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade valaxy</span></span>
|
|
1117
|
-
<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": "#032F62" })}"${_scopeId}>valaxy@latest</span></span>
|
|
1118
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade theme</span></span>
|
|
1119
|
-
<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": "#032F62" })}"${_scopeId}>valaxy-theme-yun@latest</span></span></code></pre></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": "#79B8FF" })}"${_scopeId}>cd</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>your-blog</span></span>
|
|
1120
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade valaxy</span></span>
|
|
1121
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>i</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>valaxy@latest</span></span>
|
|
1122
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade theme</span></span>
|
|
1123
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>i</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>valaxy-theme-yun@latest</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>cd</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>your-blog</span></span>
|
|
1124
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade valaxy</span></span>
|
|
1125
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>i</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy@latest</span></span>
|
|
1126
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># upgrade theme</span></span>
|
|
1127
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>npm</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>i</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>valaxy-theme-yun@latest</span></span></code></pre></div></div></div><h3 id="pnpm" tabindex="-1"${_scopeId}>pnpm `);
|
|
1128
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1129
|
-
class: "header-anchor",
|
|
1130
|
-
href: "#pnpm",
|
|
1131
|
-
"aria-label": 'Permalink to "pnpm"'
|
|
1132
|
-
}, {
|
|
1133
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1134
|
-
if (_push3) {
|
|
1135
|
-
_push3(``);
|
|
1136
|
-
} else {
|
|
1137
|
-
return [
|
|
1138
|
-
createTextVNode("")
|
|
1139
|
-
];
|
|
1140
|
-
}
|
|
1141
|
-
}),
|
|
1142
|
-
_: 1
|
|
1143
|
-
/* STABLE */
|
|
1144
|
-
}, _parent2, _scopeId));
|
|
1145
|
-
_push2(`</h3><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>你可以使用 pnpm 的交互升级命令。</p></blockquote></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>You can use the interactive upgrade command provided by <code${_scopeId}>pnpm</code>.</p></blockquote></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": "#6A737D" })}"${_scopeId}># interactive upgrade</span></span>
|
|
1146
|
-
<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}>up</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>--latest</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>-i</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}># interactive upgrade</span></span>
|
|
1147
|
-
<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}>up</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>--latest</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>-i</span></span></code></pre></div><h2 id="迁移" tabindex="-1"${_scopeId}>迁移 `);
|
|
1148
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1149
|
-
class: "header-anchor",
|
|
1150
|
-
href: "#迁移",
|
|
1151
|
-
"aria-label": 'Permalink to "迁移"'
|
|
1152
|
-
}, {
|
|
1153
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1154
|
-
if (_push3) {
|
|
1155
|
-
_push3(``);
|
|
1156
|
-
} else {
|
|
1157
|
-
return [
|
|
1158
|
-
createTextVNode("")
|
|
1159
|
-
];
|
|
1160
|
-
}
|
|
1161
|
-
}),
|
|
1162
|
-
_: 1
|
|
1163
|
-
/* STABLE */
|
|
1164
|
-
}, _parent2, _scopeId));
|
|
1165
|
-
_push2(`</h2><p${_scopeId}>如果你来自其他博客框架,可参考 `);
|
|
1166
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/migration/" }, {
|
|
1167
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1168
|
-
if (_push3) {
|
|
1169
|
-
_push3(`迁移`);
|
|
1170
|
-
} else {
|
|
1171
|
-
return [
|
|
1172
|
-
createTextVNode("迁移")
|
|
1173
|
-
];
|
|
1174
|
-
}
|
|
1175
|
-
}),
|
|
1176
|
-
_: 1
|
|
1177
|
-
/* STABLE */
|
|
1178
|
-
}, _parent2, _scopeId));
|
|
1179
|
-
_push2(`。</p><h2 lang="en" id="directory-structure" tabindex="-1"${_scopeId}>Directory Structure `);
|
|
1180
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1181
|
-
class: "header-anchor",
|
|
1182
|
-
href: "#directory-structure",
|
|
1183
|
-
"aria-label": 'Permalink to "Directory Structure {lang="en"}"'
|
|
1184
|
-
}, {
|
|
1185
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1186
|
-
if (_push3) {
|
|
1187
|
-
_push3(``);
|
|
1188
|
-
} else {
|
|
1189
|
-
return [
|
|
1190
|
-
createTextVNode("")
|
|
1191
|
-
];
|
|
1192
|
-
}
|
|
1193
|
-
}),
|
|
1194
|
-
_: 1
|
|
1195
|
-
/* STABLE */
|
|
1196
|
-
}, _parent2, _scopeId));
|
|
1197
|
-
_push2(`</h2><h2 lang="zh-CN" id="目录结构" tabindex="-1"${_scopeId}>目录结构 `);
|
|
1198
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1199
|
-
class: "header-anchor",
|
|
1200
|
-
href: "#目录结构",
|
|
1201
|
-
"aria-label": 'Permalink to "目录结构 {lang="zh-CN"}"'
|
|
1202
|
-
}, {
|
|
1203
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1204
|
-
if (_push3) {
|
|
1205
|
-
_push3(``);
|
|
1206
|
-
} else {
|
|
1207
|
-
return [
|
|
1208
|
-
createTextVNode("")
|
|
1209
|
-
];
|
|
1210
|
-
}
|
|
1211
|
-
}),
|
|
1212
|
-
_: 1
|
|
1213
|
-
/* STABLE */
|
|
1214
|
-
}, _parent2, _scopeId));
|
|
1215
|
-
_push2(`</h2><div lang="en"${_scopeId}><p${_scopeId}>In most cases, you only need to work in the <code${_scopeId}>pages</code> folder.</p></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>在大部分情况下,你只需要在 <code${_scopeId}>pages</code> 文件夹下进行工作,编写文章。</p></div><h3 lang="en" id="main-folders" tabindex="-1"${_scopeId}>Main folders `);
|
|
1216
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1217
|
-
class: "header-anchor",
|
|
1218
|
-
href: "#main-folders",
|
|
1219
|
-
"aria-label": 'Permalink to "Main folders {lang="en"}"'
|
|
1220
|
-
}, {
|
|
1221
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1222
|
-
if (_push3) {
|
|
1223
|
-
_push3(``);
|
|
1224
|
-
} else {
|
|
1225
|
-
return [
|
|
1226
|
-
createTextVNode("")
|
|
1227
|
-
];
|
|
1228
|
-
}
|
|
1229
|
-
}),
|
|
1230
|
-
_: 1
|
|
1231
|
-
/* STABLE */
|
|
1232
|
-
}, _parent2, _scopeId));
|
|
1233
|
-
_push2(`</h3><h3 lang="zh-CN" id="主要的文件夹" tabindex="-1"${_scopeId}>主要的文件夹 `);
|
|
1234
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1235
|
-
class: "header-anchor",
|
|
1236
|
-
href: "#主要的文件夹",
|
|
1237
|
-
"aria-label": 'Permalink to "主要的文件夹 {lang="zh-CN"}"'
|
|
1238
|
-
}, {
|
|
1239
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1240
|
-
if (_push3) {
|
|
1241
|
-
_push3(``);
|
|
1242
|
-
} else {
|
|
1243
|
-
return [
|
|
1244
|
-
createTextVNode("")
|
|
1245
|
-
];
|
|
1246
|
-
}
|
|
1247
|
-
}),
|
|
1248
|
-
_: 1
|
|
1249
|
-
/* STABLE */
|
|
1250
|
-
}, _parent2, _scopeId));
|
|
1251
|
-
_push2(`</h3><div lang="en"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>pages</code>: your all pages <ul${_scopeId}><li${_scopeId}><code${_scopeId}>posts</code>: write your posts here, will be counted as posts</li></ul></li><li${_scopeId}><code${_scopeId}>styles</code>: override theme styles, <code${_scopeId}>index.scss</code>/<code${_scopeId}>vars.csss</code>/<code${_scopeId}>index.css</code> will be loaded automatically</li><li${_scopeId}><code${_scopeId}>components</code>: custom your vue components (will be loaded automatically)</li><li${_scopeId}><code${_scopeId}>layouts</code>: custom layouts (use it by <code${_scopeId}>layout: xxx</code> in md)</li><li${_scopeId}><code${_scopeId}>locales</code>: custom i18n</li></ul></div><div lang="zh-CN"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>pages</code>: 你的所有页面 <ul${_scopeId}><li${_scopeId}><code${_scopeId}>posts</code>: 写在 <code${_scopeId}>pages/posts</code> 文件夹下的内容,将被当作博客文章</li></ul></li><li${_scopeId}><code${_scopeId}>styles</code>: 覆盖主题样式,文件夹下的这些 scss 文件将会被自动加载 <ul${_scopeId}><li${_scopeId}><code${_scopeId}>index.scss</code> / <code${_scopeId}>index.css</code></li><li${_scopeId}><code${_scopeId}>css-vars.scss</code> / <code${_scopeId}>css-vars.css</code></li></ul></li><li${_scopeId}><code${_scopeId}>components</code>: 自定义你的组件(将会被自动注册)</li><li${_scopeId}><code${_scopeId}>layouts</code>: 自定义布局 (譬如可以通过 <code${_scopeId}>layout: xxx</code> 来使用 <code${_scopeId}>layouts/xxx.vue</code> 布局)</li><li${_scopeId}><code${_scopeId}>locales</code>: 自定义国际化关键词</li></ul></div><h3 lang="en" id="others" tabindex="-1"${_scopeId}>Others `);
|
|
1252
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1253
|
-
class: "header-anchor",
|
|
1254
|
-
href: "#others",
|
|
1255
|
-
"aria-label": 'Permalink to "Others {lang="en"}"'
|
|
1256
|
-
}, {
|
|
1257
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1258
|
-
if (_push3) {
|
|
1259
|
-
_push3(``);
|
|
1260
|
-
} else {
|
|
1261
|
-
return [
|
|
1262
|
-
createTextVNode("")
|
|
1263
|
-
];
|
|
1264
|
-
}
|
|
1265
|
-
}),
|
|
1266
|
-
_: 1
|
|
1267
|
-
/* STABLE */
|
|
1268
|
-
}, _parent2, _scopeId));
|
|
1269
|
-
_push2(`</h3><h3 lang="zh-CN" id="其他" tabindex="-1"${_scopeId}>其他 `);
|
|
1270
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1271
|
-
class: "header-anchor",
|
|
1272
|
-
href: "#其他",
|
|
1273
|
-
"aria-label": 'Permalink to "其他 {lang="zh-CN"}"'
|
|
1274
|
-
}, {
|
|
1275
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1276
|
-
if (_push3) {
|
|
1277
|
-
_push3(``);
|
|
1278
|
-
} else {
|
|
1279
|
-
return [
|
|
1280
|
-
createTextVNode("")
|
|
1281
|
-
];
|
|
1282
|
-
}
|
|
1283
|
-
}),
|
|
1284
|
-
_: 1
|
|
1285
|
-
/* STABLE */
|
|
1286
|
-
}, _parent2, _scopeId));
|
|
1287
|
-
_push2(`</h3><div lang="en"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>.vscode</code>: recommend some useful plugins & settings, you can preview icon/i18n/class...</li><li${_scopeId}><code${_scopeId}>.github</code>: GitHub Actions to auto build & deploy to GitHub Pages</li><li${_scopeId}><code${_scopeId}>netlify.toml</code>: for `);
|
|
1288
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1289
|
-
href: "https://www.netlify.com/",
|
|
1290
|
-
target: "_blank",
|
|
1291
|
-
rel: "noreferrer"
|
|
1292
|
-
}, {
|
|
1293
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1294
|
-
if (_push3) {
|
|
1295
|
-
_push3(`netlify`);
|
|
1296
|
-
} else {
|
|
1297
|
-
return [
|
|
1298
|
-
createTextVNode("netlify")
|
|
1299
|
-
];
|
|
1300
|
-
}
|
|
1301
|
-
}),
|
|
1302
|
-
_: 1
|
|
1303
|
-
/* STABLE */
|
|
1304
|
-
}, _parent2, _scopeId));
|
|
1305
|
-
_push2(`</li><li${_scopeId}><code${_scopeId}>vercel.json</code>: for `);
|
|
1306
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1307
|
-
href: "https://vercel.com/",
|
|
1308
|
-
target: "_blank",
|
|
1309
|
-
rel: "noreferrer"
|
|
1310
|
-
}, {
|
|
1311
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1312
|
-
if (_push3) {
|
|
1313
|
-
_push3(`vercel`);
|
|
1314
|
-
} else {
|
|
1315
|
-
return [
|
|
1316
|
-
createTextVNode("vercel")
|
|
1317
|
-
];
|
|
1318
|
-
}
|
|
1319
|
-
}),
|
|
1320
|
-
_: 1
|
|
1321
|
-
/* STABLE */
|
|
1322
|
-
}, _parent2, _scopeId));
|
|
1323
|
-
_push2(`</li></ul></div><div lang="zh-CN"${_scopeId}><ul${_scopeId}><li${_scopeId}><code${_scopeId}>.vscode</code>: 推荐安装一些有用的 VSCode 插件,这样你可以直接预览一些图标、国际化、辅助的 CSS Class 等 <ul${_scopeId}><li${_scopeId}>你可以在 VSCode 插件商店中找到 `);
|
|
1324
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1325
|
-
href: "https://marketplace.visualstudio.com/items?itemName=yunyoujun.valaxy",
|
|
1326
|
-
target: "_blank",
|
|
1327
|
-
rel: "noreferrer"
|
|
1328
|
-
}, {
|
|
1329
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1330
|
-
if (_push3) {
|
|
1331
|
-
_push3(`<code${_scopeId2}>Valaxy</code> 插件`);
|
|
1332
|
-
} else {
|
|
1333
|
-
return [
|
|
1334
|
-
createVNode("code", null, "Valaxy"),
|
|
1335
|
-
createTextVNode(" 插件")
|
|
1336
|
-
];
|
|
1337
|
-
}
|
|
1338
|
-
}),
|
|
1339
|
-
_: 1
|
|
1340
|
-
/* STABLE */
|
|
1341
|
-
}, _parent2, _scopeId));
|
|
1342
|
-
_push2(`,它提供了文章列表预览/切换/删除等功能,让你尽可能地可以在 VSCode 中完成所有操作。</li></ul></li><li${_scopeId}><code${_scopeId}>.github</code>: 使用 GitHub Actions 自动构建并部署到 GitHub Pages</li><li${_scopeId}><code${_scopeId}>netlify.toml</code>: `);
|
|
1343
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1344
|
-
href: "https://www.netlify.com/",
|
|
1345
|
-
target: "_blank",
|
|
1346
|
-
rel: "noreferrer"
|
|
1347
|
-
}, {
|
|
1348
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1349
|
-
if (_push3) {
|
|
1350
|
-
_push3(`Netlify`);
|
|
1351
|
-
} else {
|
|
1352
|
-
return [
|
|
1353
|
-
createTextVNode("Netlify")
|
|
1354
|
-
];
|
|
1355
|
-
}
|
|
1356
|
-
}),
|
|
1357
|
-
_: 1
|
|
1358
|
-
/* STABLE */
|
|
1359
|
-
}, _parent2, _scopeId));
|
|
1360
|
-
_push2(` 自动配置</li><li${_scopeId}><code${_scopeId}>vercel.json</code>: `);
|
|
1361
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1362
|
-
href: "https://vercel.com/",
|
|
1363
|
-
target: "_blank",
|
|
1364
|
-
rel: "noreferrer"
|
|
1365
|
-
}, {
|
|
1366
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1367
|
-
if (_push3) {
|
|
1368
|
-
_push3(`Vercel`);
|
|
1369
|
-
} else {
|
|
1370
|
-
return [
|
|
1371
|
-
createTextVNode("Vercel")
|
|
1372
|
-
];
|
|
1373
|
-
}
|
|
1374
|
-
}),
|
|
1375
|
-
_: 1
|
|
1376
|
-
/* STABLE */
|
|
1377
|
-
}, _parent2, _scopeId));
|
|
1378
|
-
_push2(` 重定向配置</li></ul></div><h2 lang="en" id="themes" tabindex="-1"${_scopeId}>Themes `);
|
|
1379
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1380
|
-
class: "header-anchor",
|
|
1381
|
-
href: "#themes",
|
|
1382
|
-
"aria-label": 'Permalink to "Themes {lang="en"}"'
|
|
1383
|
-
}, {
|
|
1384
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1385
|
-
if (_push3) {
|
|
1386
|
-
_push3(``);
|
|
1387
|
-
} else {
|
|
1388
|
-
return [
|
|
1389
|
-
createTextVNode("")
|
|
1390
|
-
];
|
|
1391
|
-
}
|
|
1392
|
-
}),
|
|
1393
|
-
_: 1
|
|
1394
|
-
/* STABLE */
|
|
1395
|
-
}, _parent2, _scopeId));
|
|
1396
|
-
_push2(`</h2><h2 lang="zh-CN" id="主题" tabindex="-1"${_scopeId}>主题 `);
|
|
1397
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1398
|
-
class: "header-anchor",
|
|
1399
|
-
href: "#主题",
|
|
1400
|
-
"aria-label": 'Permalink to "主题 {lang="zh-CN"}"'
|
|
1401
|
-
}, {
|
|
1402
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1403
|
-
if (_push3) {
|
|
1404
|
-
_push3(``);
|
|
1405
|
-
} else {
|
|
1406
|
-
return [
|
|
1407
|
-
createTextVNode("")
|
|
1408
|
-
];
|
|
1409
|
-
}
|
|
1410
|
-
}),
|
|
1411
|
-
_: 1
|
|
1412
|
-
/* STABLE */
|
|
1413
|
-
}, _parent2, _scopeId));
|
|
1414
|
-
_push2(`</h2><div lang="en"${_scopeId}><p${_scopeId}>If you want to develop a theme and released, you can refer to `);
|
|
1415
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1416
|
-
href: "https://github.com/YunYouJun/valaxy-theme-starter",
|
|
1417
|
-
target: "_blank",
|
|
1418
|
-
rel: "noreferrer"
|
|
1419
|
-
}, {
|
|
1420
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1421
|
-
if (_push3) {
|
|
1422
|
-
_push3(`valaxy-theme-starter`);
|
|
1423
|
-
} else {
|
|
1424
|
-
return [
|
|
1425
|
-
createTextVNode("valaxy-theme-starter")
|
|
1426
|
-
];
|
|
1427
|
-
}
|
|
1428
|
-
}),
|
|
1429
|
-
_: 1
|
|
1430
|
-
/* STABLE */
|
|
1431
|
-
}, _parent2, _scopeId));
|
|
1432
|
-
_push2(`.</p></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>如果您希望自己开发一个主题并发布,您可以参考 `);
|
|
1433
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1434
|
-
href: "https://github.com/YunYouJun/valaxy-theme-starter",
|
|
1435
|
-
target: "_blank",
|
|
1436
|
-
rel: "noreferrer"
|
|
1437
|
-
}, {
|
|
1438
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1439
|
-
if (_push3) {
|
|
1440
|
-
_push3(`valaxy-theme-starter`);
|
|
1441
|
-
} else {
|
|
1442
|
-
return [
|
|
1443
|
-
createTextVNode("valaxy-theme-starter")
|
|
1444
|
-
];
|
|
1445
|
-
}
|
|
1446
|
-
}),
|
|
1447
|
-
_: 1
|
|
1448
|
-
/* STABLE */
|
|
1449
|
-
}, _parent2, _scopeId));
|
|
1450
|
-
_push2(`。</p><p${_scopeId}>更多内容请参见 `);
|
|
1451
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/themes/write" }, {
|
|
1452
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1453
|
-
if (_push3) {
|
|
1454
|
-
_push3(`如何编写一个 Valaxy 主题`);
|
|
1455
|
-
} else {
|
|
1456
|
-
return [
|
|
1457
|
-
createTextVNode("如何编写一个 Valaxy 主题")
|
|
1458
|
-
];
|
|
1459
|
-
}
|
|
1460
|
-
}),
|
|
1461
|
-
_: 1
|
|
1462
|
-
/* STABLE */
|
|
1463
|
-
}, _parent2, _scopeId));
|
|
1464
|
-
_push2(`。</p></div><h2 lang="en" id="community" tabindex="-1"${_scopeId}>Community `);
|
|
1465
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1466
|
-
class: "header-anchor",
|
|
1467
|
-
href: "#community",
|
|
1468
|
-
"aria-label": 'Permalink to "Community {lang="en"}"'
|
|
1469
|
-
}, {
|
|
1470
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1471
|
-
if (_push3) {
|
|
1472
|
-
_push3(``);
|
|
1473
|
-
} else {
|
|
1474
|
-
return [
|
|
1475
|
-
createTextVNode("")
|
|
1476
|
-
];
|
|
1477
|
-
}
|
|
1478
|
-
}),
|
|
1479
|
-
_: 1
|
|
1480
|
-
/* STABLE */
|
|
1481
|
-
}, _parent2, _scopeId));
|
|
1482
|
-
_push2(`</h2><h2 lang="zh-CN" id="社区" tabindex="-1"${_scopeId}>社区 `);
|
|
1483
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1484
|
-
class: "header-anchor",
|
|
1485
|
-
href: "#社区",
|
|
1486
|
-
"aria-label": 'Permalink to "社区 {lang="zh-CN"}"'
|
|
1487
|
-
}, {
|
|
1488
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1489
|
-
if (_push3) {
|
|
1490
|
-
_push3(``);
|
|
1491
|
-
} else {
|
|
1492
|
-
return [
|
|
1493
|
-
createTextVNode("")
|
|
1494
|
-
];
|
|
1495
|
-
}
|
|
1496
|
-
}),
|
|
1497
|
-
_: 1
|
|
1498
|
-
/* STABLE */
|
|
1499
|
-
}, _parent2, _scopeId));
|
|
1500
|
-
_push2(`</h2><div lang="en"${_scopeId}><p${_scopeId}>If you have questions or need help, you can go to the `);
|
|
1501
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1502
|
-
href: "https://discord.gg/nd3mPkU5j8",
|
|
1503
|
-
target: "_blank",
|
|
1504
|
-
rel: "noreferrer"
|
|
1505
|
-
}, {
|
|
1506
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1507
|
-
if (_push3) {
|
|
1508
|
-
_push3(`Discord`);
|
|
1509
|
-
} else {
|
|
1510
|
-
return [
|
|
1511
|
-
createTextVNode("Discord")
|
|
1512
|
-
];
|
|
1513
|
-
}
|
|
1514
|
-
}),
|
|
1515
|
-
_: 1
|
|
1516
|
-
/* STABLE */
|
|
1517
|
-
}, _parent2, _scopeId));
|
|
1518
|
-
_push2(` and `);
|
|
1519
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1520
|
-
href: "https://github.com/YunYouJun/valaxy/discussions",
|
|
1521
|
-
target: "_blank",
|
|
1522
|
-
rel: "noreferrer"
|
|
1523
|
-
}, {
|
|
1524
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1525
|
-
if (_push3) {
|
|
1526
|
-
_push3(`Discussions`);
|
|
1527
|
-
} else {
|
|
1528
|
-
return [
|
|
1529
|
-
createTextVNode("Discussions")
|
|
1530
|
-
];
|
|
1531
|
-
}
|
|
1532
|
-
}),
|
|
1533
|
-
_: 1
|
|
1534
|
-
/* STABLE */
|
|
1535
|
-
}, _parent2, _scopeId));
|
|
1536
|
-
_push2(` to ask for help.</p></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>如果你有疑问或者需要帮助,可以到 `);
|
|
1537
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1538
|
-
href: "https://discord.gg/nd3mPkU5j8",
|
|
1539
|
-
target: "_blank",
|
|
1540
|
-
rel: "noreferrer"
|
|
1541
|
-
}, {
|
|
1542
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1543
|
-
if (_push3) {
|
|
1544
|
-
_push3(`Discord`);
|
|
1545
|
-
} else {
|
|
1546
|
-
return [
|
|
1547
|
-
createTextVNode("Discord")
|
|
1548
|
-
];
|
|
1549
|
-
}
|
|
1550
|
-
}),
|
|
1551
|
-
_: 1
|
|
1552
|
-
/* STABLE */
|
|
1553
|
-
}, _parent2, _scopeId));
|
|
1554
|
-
_push2(` 和 `);
|
|
1555
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
1556
|
-
href: "https://github.com/YunYouJun/valaxy/discussions",
|
|
1557
|
-
target: "_blank",
|
|
1558
|
-
rel: "noreferrer"
|
|
1559
|
-
}, {
|
|
1560
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
1561
|
-
if (_push3) {
|
|
1562
|
-
_push3(`GitHub Discussions`);
|
|
1563
|
-
} else {
|
|
1564
|
-
return [
|
|
1565
|
-
createTextVNode("GitHub Discussions")
|
|
1566
|
-
];
|
|
1567
|
-
}
|
|
1568
|
-
}),
|
|
1569
|
-
_: 1
|
|
1570
|
-
/* STABLE */
|
|
1571
|
-
}, _parent2, _scopeId));
|
|
1572
|
-
_push2(` 社区来寻求帮助。</p></div>`);
|
|
1573
|
-
} else {
|
|
1574
|
-
return [
|
|
1575
|
-
createVNode("h2", {
|
|
1576
|
-
lang: "en",
|
|
1577
|
-
id: "overview",
|
|
1578
|
-
tabindex: "-1"
|
|
1579
|
-
}, [
|
|
1580
|
-
createTextVNode("Overview "),
|
|
1581
|
-
createVNode(_component_AppLink, {
|
|
1582
|
-
class: "header-anchor",
|
|
1583
|
-
href: "#overview",
|
|
1584
|
-
"aria-label": 'Permalink to "Overview {lang="en"}"'
|
|
1585
|
-
}, {
|
|
1586
|
-
default: withCtx(() => [
|
|
1587
|
-
createTextVNode("")
|
|
1588
|
-
]),
|
|
1589
|
-
_: 1
|
|
1590
|
-
/* STABLE */
|
|
1591
|
-
})
|
|
1592
|
-
]),
|
|
1593
|
-
createVNode("h2", {
|
|
1594
|
-
lang: "zh-CN",
|
|
1595
|
-
id: "总览",
|
|
1596
|
-
tabindex: "-1"
|
|
1597
|
-
}, [
|
|
1598
|
-
createTextVNode("总览 "),
|
|
1599
|
-
createVNode(_component_AppLink, {
|
|
1600
|
-
class: "header-anchor",
|
|
1601
|
-
href: "#总览",
|
|
1602
|
-
"aria-label": 'Permalink to "总览 {lang="zh-CN"}"'
|
|
1603
|
-
}, {
|
|
1604
|
-
default: withCtx(() => [
|
|
1605
|
-
createTextVNode("")
|
|
1606
|
-
]),
|
|
1607
|
-
_: 1
|
|
1608
|
-
/* STABLE */
|
|
1609
|
-
})
|
|
1610
|
-
]),
|
|
1611
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
1612
|
-
createVNode("p", null, [
|
|
1613
|
-
createVNode("span", {
|
|
1614
|
-
"text-purple-600": "",
|
|
1615
|
-
font: "bold"
|
|
1616
|
-
}, "Valaxy"),
|
|
1617
|
-
createTextVNode(),
|
|
1618
|
-
createVNode("span", {
|
|
1619
|
-
bg: "$va-c-bg-soft",
|
|
1620
|
-
font: "bold",
|
|
1621
|
-
"px-2": "",
|
|
1622
|
-
"py-1": "",
|
|
1623
|
-
rounded: "",
|
|
1624
|
-
"text-sm": ""
|
|
1625
|
-
}, [
|
|
1626
|
-
createTextVNode("= V + "),
|
|
1627
|
-
createVNode("span", { op: "30" }, "G"),
|
|
1628
|
-
createTextVNode("alaxy")
|
|
1629
|
-
]),
|
|
1630
|
-
createTextVNode(" 旨在成为下一代静态博客框架,提供更好的热更新与用户加载体验、更强大更便捷的自定义开发可能性。")
|
|
1631
|
-
]),
|
|
1632
|
-
createVNode("p", null, [
|
|
1633
|
-
createTextVNode("你可以在 "),
|
|
1634
|
-
createVNode(_component_AppLink, { href: "/guide/why" }, {
|
|
1635
|
-
default: withCtx(() => [
|
|
1636
|
-
createTextVNode("为什么选 Valaxy")
|
|
1637
|
-
]),
|
|
1638
|
-
_: 1
|
|
1639
|
-
/* STABLE */
|
|
1640
|
-
}),
|
|
1641
|
-
createTextVNode(" 中了解更多关于项目的设计初衷。")
|
|
1642
|
-
]),
|
|
1643
|
-
createVNode("div", { class: "tip custom-block" }, [
|
|
1644
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
1645
|
-
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
1646
|
-
createVNode("span", { lang: "en" }, "TIP"),
|
|
1647
|
-
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
1648
|
-
]),
|
|
1649
|
-
createVNode("p", null, [
|
|
1650
|
-
createVNode("code", null, "Valaxy"),
|
|
1651
|
-
createTextVNode(" 基于 "),
|
|
1652
|
-
createVNode(_component_AppLink, {
|
|
1653
|
-
href: "https://vitejs.dev/",
|
|
1654
|
-
target: "_blank",
|
|
1655
|
-
rel: "noreferrer"
|
|
1656
|
-
}, {
|
|
1657
|
-
default: withCtx(() => [
|
|
1658
|
-
createTextVNode("Vite")
|
|
1659
|
-
]),
|
|
1660
|
-
_: 1
|
|
1661
|
-
/* STABLE */
|
|
1662
|
-
}),
|
|
1663
|
-
createTextVNode(" 提供热更新与打包等功能,基于 "),
|
|
1664
|
-
createVNode(_component_AppLink, {
|
|
1665
|
-
href: "https://vuejs.org/",
|
|
1666
|
-
target: "_blank",
|
|
1667
|
-
rel: "noreferrer"
|
|
1668
|
-
}, {
|
|
1669
|
-
default: withCtx(() => [
|
|
1670
|
-
createTextVNode("Vue")
|
|
1671
|
-
]),
|
|
1672
|
-
_: 1
|
|
1673
|
-
/* STABLE */
|
|
1674
|
-
}),
|
|
1675
|
-
createTextVNode(" 实现视图(如主题、自定义组件)等客户端功能。")
|
|
1676
|
-
]),
|
|
1677
|
-
createVNode("p", null, "因此 Valaxy 兼容并可自由使用 Vite 与 Vue 生态的所有插件。")
|
|
1678
|
-
])
|
|
1679
|
-
]),
|
|
1680
|
-
createVNode("div", { lang: "en" }, [
|
|
1681
|
-
createVNode("p", null, [
|
|
1682
|
-
createVNode("span", {
|
|
1683
|
-
"text-purple-600": "",
|
|
1684
|
-
font: "bold"
|
|
1685
|
-
}, "Valaxy"),
|
|
1686
|
-
createTextVNode(),
|
|
1687
|
-
createVNode("span", {
|
|
1688
|
-
bg: "$va-c-bg-soft",
|
|
1689
|
-
font: "bold",
|
|
1690
|
-
"px-2": "",
|
|
1691
|
-
"py-1": "",
|
|
1692
|
-
rounded: "",
|
|
1693
|
-
"text-sm": ""
|
|
1694
|
-
}, [
|
|
1695
|
-
createTextVNode("= V + "),
|
|
1696
|
-
createVNode("span", { op: "30" }, "G"),
|
|
1697
|
-
createTextVNode("alaxy")
|
|
1698
|
-
]),
|
|
1699
|
-
createTextVNode(" aims for the next generation static blog framework, providing better hot reloading and user loading experience, with easier and powerful customization support.")
|
|
1700
|
-
]),
|
|
1701
|
-
createVNode("p", null, [
|
|
1702
|
-
createTextVNode("You can learn more about the original intensions for this project in "),
|
|
1703
|
-
createVNode(_component_AppLink, { href: "/guide/why" }, {
|
|
1704
|
-
default: withCtx(() => [
|
|
1705
|
-
createTextVNode("Why Valaxy")
|
|
1706
|
-
]),
|
|
1707
|
-
_: 1
|
|
1708
|
-
/* STABLE */
|
|
1709
|
-
}),
|
|
1710
|
-
createTextVNode(".")
|
|
1711
|
-
]),
|
|
1712
|
-
createVNode("div", { class: "tip custom-block" }, [
|
|
1713
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
1714
|
-
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
1715
|
-
createVNode("span", { lang: "en" }, "TIP"),
|
|
1716
|
-
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
1717
|
-
]),
|
|
1718
|
-
createVNode("p", null, [
|
|
1719
|
-
createVNode("code", null, "Valaxy"),
|
|
1720
|
-
createTextVNode(" is based on "),
|
|
1721
|
-
createVNode(_component_AppLink, {
|
|
1722
|
-
href: "https://vitejs.dev/",
|
|
1723
|
-
target: "_blank",
|
|
1724
|
-
rel: "noreferrer"
|
|
1725
|
-
}, {
|
|
1726
|
-
default: withCtx(() => [
|
|
1727
|
-
createTextVNode("Vite")
|
|
1728
|
-
]),
|
|
1729
|
-
_: 1
|
|
1730
|
-
/* STABLE */
|
|
1731
|
-
}),
|
|
1732
|
-
createTextVNode(" to provide hot reloading and packaging, and based on "),
|
|
1733
|
-
createVNode(_component_AppLink, {
|
|
1734
|
-
href: "https://vuejs.org/",
|
|
1735
|
-
target: "_blank",
|
|
1736
|
-
rel: "noreferrer"
|
|
1737
|
-
}, {
|
|
1738
|
-
default: withCtx(() => [
|
|
1739
|
-
createTextVNode("Vue")
|
|
1740
|
-
]),
|
|
1741
|
-
_: 1
|
|
1742
|
-
/* STABLE */
|
|
1743
|
-
}),
|
|
1744
|
-
createTextVNode(" to realize client functionalities such as views (themes, custom components).")
|
|
1745
|
-
]),
|
|
1746
|
-
createVNode("p", null, "Therefore, Valaxy supports all extensions/plugins for Vite and Vue.")
|
|
1747
|
-
])
|
|
1748
|
-
]),
|
|
1749
|
-
createVNode("h2", {
|
|
1750
|
-
lang: "en",
|
|
1751
|
-
id: "create-a-valaxy-project",
|
|
1752
|
-
tabindex: "-1"
|
|
1753
|
-
}, [
|
|
1754
|
-
createTextVNode("Create a Valaxy Project "),
|
|
1755
|
-
createVNode(_component_AppLink, {
|
|
1756
|
-
class: "header-anchor",
|
|
1757
|
-
href: "#create-a-valaxy-project",
|
|
1758
|
-
"aria-label": 'Permalink to "Create a Valaxy Project {lang="en"}"'
|
|
1759
|
-
}, {
|
|
1760
|
-
default: withCtx(() => [
|
|
1761
|
-
createTextVNode("")
|
|
1762
|
-
]),
|
|
1763
|
-
_: 1
|
|
1764
|
-
/* STABLE */
|
|
1765
|
-
})
|
|
1766
|
-
]),
|
|
1767
|
-
createVNode("h2", {
|
|
1768
|
-
lang: "zh-CN",
|
|
1769
|
-
id: "创建-valaxy-项目",
|
|
1770
|
-
tabindex: "-1"
|
|
1771
|
-
}, [
|
|
1772
|
-
createTextVNode("创建 Valaxy 项目 "),
|
|
1773
|
-
createVNode(_component_AppLink, {
|
|
1774
|
-
class: "header-anchor",
|
|
1775
|
-
href: "#创建-valaxy-项目",
|
|
1776
|
-
"aria-label": 'Permalink to "创建 Valaxy 项目 {lang="zh-CN"}"'
|
|
1777
|
-
}, {
|
|
1778
|
-
default: withCtx(() => [
|
|
1779
|
-
createTextVNode("")
|
|
1780
|
-
]),
|
|
1781
|
-
_: 1
|
|
1782
|
-
/* STABLE */
|
|
1783
|
-
})
|
|
1784
|
-
]),
|
|
1785
|
-
createVNode("div", { lang: "en" }, [
|
|
1786
|
-
createVNode("blockquote", null, [
|
|
1787
|
-
createVNode("p", null, [
|
|
1788
|
-
createTextVNode("Example: "),
|
|
1789
|
-
createVNode(_component_AppLink, {
|
|
1790
|
-
href: "https://yun.valaxy.site",
|
|
1791
|
-
target: "_blank",
|
|
1792
|
-
rel: "noreferrer"
|
|
1793
|
-
}, {
|
|
1794
|
-
default: withCtx(() => [
|
|
1795
|
-
createTextVNode("yun.valaxy.site")
|
|
1796
|
-
]),
|
|
1797
|
-
_: 1
|
|
1798
|
-
/* STABLE */
|
|
1799
|
-
})
|
|
1800
|
-
])
|
|
1801
|
-
])
|
|
1802
|
-
]),
|
|
1803
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
1804
|
-
createVNode("blockquote", null, [
|
|
1805
|
-
createVNode("p", null, [
|
|
1806
|
-
createTextVNode("示例: "),
|
|
1807
|
-
createVNode(_component_AppLink, {
|
|
1808
|
-
href: "https://yun.valaxy.site",
|
|
1809
|
-
target: "_blank",
|
|
1810
|
-
rel: "noreferrer"
|
|
1811
|
-
}, {
|
|
1812
|
-
default: withCtx(() => [
|
|
1813
|
-
createTextVNode("yun.valaxy.site")
|
|
1814
|
-
]),
|
|
1815
|
-
_: 1
|
|
1816
|
-
/* STABLE */
|
|
1817
|
-
})
|
|
1818
|
-
])
|
|
1819
|
-
])
|
|
1820
|
-
]),
|
|
1821
|
-
createVNode("h3", {
|
|
1822
|
-
lang: "en",
|
|
1823
|
-
id: "try-it-online",
|
|
1824
|
-
tabindex: "-1"
|
|
1825
|
-
}, [
|
|
1826
|
-
createTextVNode("Try it Online "),
|
|
1827
|
-
createVNode(_component_AppLink, {
|
|
1828
|
-
class: "header-anchor",
|
|
1829
|
-
href: "#try-it-online",
|
|
1830
|
-
"aria-label": 'Permalink to "Try it Online {lang="en"}"'
|
|
1831
|
-
}, {
|
|
1832
|
-
default: withCtx(() => [
|
|
1833
|
-
createTextVNode("")
|
|
1834
|
-
]),
|
|
1835
|
-
_: 1
|
|
1836
|
-
/* STABLE */
|
|
1837
|
-
})
|
|
1838
|
-
]),
|
|
1839
|
-
createVNode("h3", {
|
|
1840
|
-
lang: "zh-CN",
|
|
1841
|
-
id: "在线试用",
|
|
1842
|
-
tabindex: "-1"
|
|
1843
|
-
}, [
|
|
1844
|
-
createTextVNode("在线试用 "),
|
|
1845
|
-
createVNode(_component_AppLink, {
|
|
1846
|
-
class: "header-anchor",
|
|
1847
|
-
href: "#在线试用",
|
|
1848
|
-
"aria-label": 'Permalink to "在线试用 {lang="zh-CN"}"'
|
|
1849
|
-
}, {
|
|
1850
|
-
default: withCtx(() => [
|
|
1851
|
-
createTextVNode("")
|
|
1852
|
-
]),
|
|
1853
|
-
_: 1
|
|
1854
|
-
/* STABLE */
|
|
1855
|
-
})
|
|
1856
|
-
]),
|
|
1857
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
1858
|
-
createVNode("p", null, [
|
|
1859
|
-
createTextVNode("你可以通过 "),
|
|
1860
|
-
createVNode(_component_AppLink, {
|
|
1861
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
1862
|
-
target: "_blank",
|
|
1863
|
-
rel: "noreferrer"
|
|
1864
|
-
}, {
|
|
1865
|
-
default: withCtx(() => [
|
|
1866
|
-
createTextVNode("StackBlitz")
|
|
1867
|
-
]),
|
|
1868
|
-
_: 1
|
|
1869
|
-
/* STABLE */
|
|
1870
|
-
}),
|
|
1871
|
-
createTextVNode(" 在线试用 Valaxy(默认使用主题 "),
|
|
1872
|
-
createVNode(_component_AppLink, {
|
|
1873
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
1874
|
-
target: "_blank",
|
|
1875
|
-
rel: "noreferrer"
|
|
1876
|
-
}, {
|
|
1877
|
-
default: withCtx(() => [
|
|
1878
|
-
createTextVNode("valaxy-theme-yun")
|
|
1879
|
-
]),
|
|
1880
|
-
_: 1
|
|
1881
|
-
/* STABLE */
|
|
1882
|
-
}),
|
|
1883
|
-
createTextVNode(")。")
|
|
1884
|
-
]),
|
|
1885
|
-
createVNode("figure", null, [
|
|
1886
|
-
createVNode(_component_AppLink, {
|
|
1887
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
1888
|
-
target: "_blank",
|
|
1889
|
-
rel: "noreferrer"
|
|
1890
|
-
}, {
|
|
1891
|
-
default: withCtx(() => [
|
|
1892
|
-
createVNode("img", {
|
|
1893
|
-
src: "https://developer.stackblitz.com/img/open_in_stackblitz.svg",
|
|
1894
|
-
alt: "StackBlitz",
|
|
1895
|
-
loading: "lazy",
|
|
1896
|
-
decoding: "async"
|
|
1897
|
-
})
|
|
1898
|
-
]),
|
|
1899
|
-
_: 1
|
|
1900
|
-
/* STABLE */
|
|
1901
|
-
})
|
|
1902
|
-
]),
|
|
1903
|
-
createVNode("blockquote", null, [
|
|
1904
|
-
createVNode("p", null, "这是一个极简项目,您仅需以下几个文件,就可以快速搭建好你的博客!"),
|
|
1905
|
-
createVNode("ul", null, [
|
|
1906
|
-
createVNode("li", null, [
|
|
1907
|
-
createVNode("code", null, "pages"),
|
|
1908
|
-
createTextVNode(" 文件夹:存放页面/文章")
|
|
1909
|
-
]),
|
|
1910
|
-
createVNode("li", null, [
|
|
1911
|
-
createVNode("code", null, "valaxy.config.ts"),
|
|
1912
|
-
createTextVNode(" Valaxy 配置文件")
|
|
1913
|
-
]),
|
|
1914
|
-
createVNode("li", null, [
|
|
1915
|
-
createVNode("code", null, "package.json"),
|
|
1916
|
-
createTextVNode(" 记录依赖")
|
|
1917
|
-
])
|
|
1918
|
-
])
|
|
1919
|
-
])
|
|
1920
|
-
]),
|
|
1921
|
-
createVNode("div", { lang: "en" }, [
|
|
1922
|
-
createVNode("p", null, [
|
|
1923
|
-
createTextVNode("You can use "),
|
|
1924
|
-
createVNode(_component_AppLink, {
|
|
1925
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
1926
|
-
target: "_blank",
|
|
1927
|
-
rel: "noreferrer"
|
|
1928
|
-
}, {
|
|
1929
|
-
default: withCtx(() => [
|
|
1930
|
-
createTextVNode("StackBlitz")
|
|
1931
|
-
]),
|
|
1932
|
-
_: 1
|
|
1933
|
-
/* STABLE */
|
|
1934
|
-
}),
|
|
1935
|
-
createTextVNode(" to try Valaxy online (the default theme used is "),
|
|
1936
|
-
createVNode(_component_AppLink, {
|
|
1937
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
1938
|
-
target: "_blank",
|
|
1939
|
-
rel: "noreferrer"
|
|
1940
|
-
}, {
|
|
1941
|
-
default: withCtx(() => [
|
|
1942
|
-
createTextVNode("valaxy-theme-yun")
|
|
1943
|
-
]),
|
|
1944
|
-
_: 1
|
|
1945
|
-
/* STABLE */
|
|
1946
|
-
}),
|
|
1947
|
-
createTextVNode(").")
|
|
1948
|
-
]),
|
|
1949
|
-
createVNode("figure", null, [
|
|
1950
|
-
createVNode(_component_AppLink, {
|
|
1951
|
-
href: "https://stackblitz.com/edit/valaxy",
|
|
1952
|
-
target: "_blank",
|
|
1953
|
-
rel: "noreferrer"
|
|
1954
|
-
}, {
|
|
1955
|
-
default: withCtx(() => [
|
|
1956
|
-
createVNode("img", {
|
|
1957
|
-
src: "https://developer.stackblitz.com/img/open_in_stackblitz.svg",
|
|
1958
|
-
alt: "StackBlitz",
|
|
1959
|
-
loading: "lazy",
|
|
1960
|
-
decoding: "async"
|
|
1961
|
-
})
|
|
1962
|
-
]),
|
|
1963
|
-
_: 1
|
|
1964
|
-
/* STABLE */
|
|
1965
|
-
})
|
|
1966
|
-
]),
|
|
1967
|
-
createVNode("blockquote", null, [
|
|
1968
|
-
createVNode("p", null, "This is an extremely simple project. You only need the following files to rapidly build your own blog!"),
|
|
1969
|
-
createVNode("ul", null, [
|
|
1970
|
-
createVNode("li", null, [
|
|
1971
|
-
createVNode("code", null, "pages"),
|
|
1972
|
-
createTextVNode(" folder: storing the pages/posts")
|
|
1973
|
-
]),
|
|
1974
|
-
createVNode("li", null, [
|
|
1975
|
-
createVNode("code", null, "valaxy.config.ts"),
|
|
1976
|
-
createTextVNode(": Valaxy's configuration file")
|
|
1977
|
-
]),
|
|
1978
|
-
createVNode("li", null, [
|
|
1979
|
-
createVNode("code", null, "package.json"),
|
|
1980
|
-
createTextVNode(": dependencies")
|
|
1981
|
-
])
|
|
1982
|
-
])
|
|
1983
|
-
])
|
|
1984
|
-
]),
|
|
1985
|
-
createVNode("h3", {
|
|
1986
|
-
lang: "en",
|
|
1987
|
-
id: "locally",
|
|
1988
|
-
tabindex: "-1"
|
|
1989
|
-
}, [
|
|
1990
|
-
createTextVNode("Locally "),
|
|
1991
|
-
createVNode(_component_AppLink, {
|
|
1992
|
-
class: "header-anchor",
|
|
1993
|
-
href: "#locally",
|
|
1994
|
-
"aria-label": 'Permalink to "Locally {lang="en"}"'
|
|
1995
|
-
}, {
|
|
1996
|
-
default: withCtx(() => [
|
|
1997
|
-
createTextVNode("")
|
|
1998
|
-
]),
|
|
1999
|
-
_: 1
|
|
2000
|
-
/* STABLE */
|
|
2001
|
-
})
|
|
2002
|
-
]),
|
|
2003
|
-
createVNode("h3", {
|
|
2004
|
-
lang: "zh-CN",
|
|
2005
|
-
id: "在本地创建",
|
|
2006
|
-
tabindex: "-1"
|
|
2007
|
-
}, [
|
|
2008
|
-
createTextVNode("在本地创建 "),
|
|
2009
|
-
createVNode(_component_AppLink, {
|
|
2010
|
-
class: "header-anchor",
|
|
2011
|
-
href: "#在本地创建",
|
|
2012
|
-
"aria-label": 'Permalink to "在本地创建 {lang="zh-CN"}"'
|
|
2013
|
-
}, {
|
|
2014
|
-
default: withCtx(() => [
|
|
2015
|
-
createTextVNode("")
|
|
2016
|
-
]),
|
|
2017
|
-
_: 1
|
|
2018
|
-
/* STABLE */
|
|
2019
|
-
})
|
|
2020
|
-
]),
|
|
2021
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2022
|
-
createVNode("div", { class: "danger custom-block" }, [
|
|
2023
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
2024
|
-
createVNode("i", { class: "icon i-carbon-warning" }),
|
|
2025
|
-
createVNode("span", { lang: "en" }, "兼容"),
|
|
2026
|
-
createVNode("span", { lang: "zh-CN" }, "兼容")
|
|
2027
|
-
]),
|
|
2028
|
-
createVNode("p", null, [
|
|
2029
|
-
createTextVNode("由于 Vite 要求 "),
|
|
2030
|
-
createVNode(_component_AppLink, {
|
|
2031
|
-
href: "https://nodejs.org/en/",
|
|
2032
|
-
target: "_blank",
|
|
2033
|
-
rel: "noreferrer"
|
|
2034
|
-
}, {
|
|
2035
|
-
default: withCtx(() => [
|
|
2036
|
-
createTextVNode("Node.js")
|
|
2037
|
-
]),
|
|
2038
|
-
_: 1
|
|
2039
|
-
/* STABLE */
|
|
2040
|
-
}),
|
|
2041
|
-
createTextVNode(" 的版本为 14.18+, 16+,Valaxy 同样需要你将 Node.js 升级至 14.18 版本之后。")
|
|
2042
|
-
])
|
|
2043
|
-
]),
|
|
2044
|
-
createVNode("div", { class: "tip custom-block" }, [
|
|
2045
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
2046
|
-
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
2047
|
-
createVNode("span", { lang: "en" }, "TIP"),
|
|
2048
|
-
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
2049
|
-
]),
|
|
2050
|
-
createVNode("p", null, [
|
|
2051
|
-
createTextVNode("如果您是 Windows 用户,我强烈建议您使用类 Unix 的 Shell(如 "),
|
|
2052
|
-
createVNode(_component_AppLink, {
|
|
2053
|
-
href: "https://git-scm.com/downloads",
|
|
2054
|
-
target: "_blank",
|
|
2055
|
-
rel: "noreferrer"
|
|
2056
|
-
}, {
|
|
2057
|
-
default: withCtx(() => [
|
|
2058
|
-
createTextVNode("Git Bash")
|
|
2059
|
-
]),
|
|
2060
|
-
_: 1
|
|
2061
|
-
/* STABLE */
|
|
2062
|
-
}),
|
|
2063
|
-
createTextVNode(" 或 "),
|
|
2064
|
-
createVNode(_component_AppLink, {
|
|
2065
|
-
href: "https://docs.microsoft.com/en-us/windows/wsl/install",
|
|
2066
|
-
target: "_blank",
|
|
2067
|
-
rel: "noreferrer"
|
|
2068
|
-
}, {
|
|
2069
|
-
default: withCtx(() => [
|
|
2070
|
-
createTextVNode("WSL")
|
|
2071
|
-
]),
|
|
2072
|
-
_: 1
|
|
2073
|
-
/* STABLE */
|
|
2074
|
-
}),
|
|
2075
|
-
createTextVNode("),而非 CMD / PowerShell.")
|
|
2076
|
-
])
|
|
2077
|
-
]),
|
|
2078
|
-
createVNode("p", null, "如果您想要在本地创建,只需要执行以下命令:")
|
|
2079
|
-
]),
|
|
2080
|
-
createVNode("div", { lang: "en" }, [
|
|
2081
|
-
createVNode("div", { class: "danger custom-block" }, [
|
|
2082
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
2083
|
-
createVNode("i", { class: "icon i-carbon-warning" }),
|
|
2084
|
-
createVNode("span", { lang: "en" }, "Compatibility Note"),
|
|
2085
|
-
createVNode("span", { lang: "zh-CN" }, "Compatibility Note")
|
|
2086
|
-
]),
|
|
2087
|
-
createVNode("p", null, [
|
|
2088
|
-
createTextVNode("Vite requires "),
|
|
2089
|
-
createVNode(_component_AppLink, {
|
|
2090
|
-
href: "https://nodejs.org/en/",
|
|
2091
|
-
target: "_blank",
|
|
2092
|
-
rel: "noreferrer"
|
|
2093
|
-
}, {
|
|
2094
|
-
default: withCtx(() => [
|
|
2095
|
-
createTextVNode("Node.js")
|
|
2096
|
-
]),
|
|
2097
|
-
_: 1
|
|
2098
|
-
/* STABLE */
|
|
2099
|
-
}),
|
|
2100
|
-
createTextVNode(" version 14.18+, 16+. Valaxy also requires you to upgrade Node.js after version 14.18+.")
|
|
2101
|
-
])
|
|
2102
|
-
]),
|
|
2103
|
-
createVNode("div", { class: "tip custom-block" }, [
|
|
2104
|
-
createVNode("p", { class: "custom-block-title" }, [
|
|
2105
|
-
createVNode("i", { class: "icon i-carbon-thumbs-up" }),
|
|
2106
|
-
createVNode("span", { lang: "en" }, "TIP"),
|
|
2107
|
-
createVNode("span", { lang: "zh-CN" }, "提示")
|
|
2108
|
-
]),
|
|
2109
|
-
createVNode("p", null, [
|
|
2110
|
-
createTextVNode("If you are a Windows user, I strongly recommend using a Unix-like shell (such as "),
|
|
2111
|
-
createVNode(_component_AppLink, {
|
|
2112
|
-
href: "https://git-scm.com/downloads",
|
|
2113
|
-
target: "_blank",
|
|
2114
|
-
rel: "noreferrer"
|
|
2115
|
-
}, {
|
|
2116
|
-
default: withCtx(() => [
|
|
2117
|
-
createTextVNode("Git Bash")
|
|
2118
|
-
]),
|
|
2119
|
-
_: 1
|
|
2120
|
-
/* STABLE */
|
|
2121
|
-
}),
|
|
2122
|
-
createTextVNode(" or "),
|
|
2123
|
-
createVNode(_component_AppLink, {
|
|
2124
|
-
href: "https://docs.microsoft.com/en-us/windows/wsl/install",
|
|
2125
|
-
target: "_blank",
|
|
2126
|
-
rel: "noreferrer"
|
|
2127
|
-
}, {
|
|
2128
|
-
default: withCtx(() => [
|
|
2129
|
-
createTextVNode("WSL")
|
|
2130
|
-
]),
|
|
2131
|
-
_: 1
|
|
2132
|
-
/* STABLE */
|
|
2133
|
-
}),
|
|
2134
|
-
createTextVNode(" rather than CMD / PowerShell.")
|
|
2135
|
-
])
|
|
2136
|
-
])
|
|
2137
|
-
]),
|
|
2138
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2139
|
-
createVNode("blockquote", null, [
|
|
2140
|
-
createVNode("p", null, [
|
|
2141
|
-
createTextVNode("由于 "),
|
|
2142
|
-
createVNode("code", null, "npm init"),
|
|
2143
|
-
createTextVNode(" 会缓存您此前下载的版本,我更推荐您使用 "),
|
|
2144
|
-
createVNode("code", null, "pnpm"),
|
|
2145
|
-
createTextVNode(" 来创建模版。"),
|
|
2146
|
-
createVNode("br"),
|
|
2147
|
-
createTextVNode(" 安装 "),
|
|
2148
|
-
createVNode(_component_AppLink, {
|
|
2149
|
-
href: "https://pnpm.io/",
|
|
2150
|
-
target: "_blank",
|
|
2151
|
-
rel: "noreferrer"
|
|
2152
|
-
}, {
|
|
2153
|
-
default: withCtx(() => [
|
|
2154
|
-
createTextVNode("pnpm")
|
|
2155
|
-
]),
|
|
2156
|
-
_: 1
|
|
2157
|
-
/* STABLE */
|
|
2158
|
-
}),
|
|
2159
|
-
createTextVNode(":"),
|
|
2160
|
-
createVNode("code", null, "npm i -g pnpm")
|
|
2161
|
-
])
|
|
2162
|
-
])
|
|
2163
|
-
]),
|
|
2164
|
-
createVNode("div", { lang: "en" }, [
|
|
2165
|
-
createVNode("blockquote", null, [
|
|
2166
|
-
createVNode("p", null, [
|
|
2167
|
-
createTextVNode("Since "),
|
|
2168
|
-
createVNode("code", null, "npm init"),
|
|
2169
|
-
createTextVNode(" caches your previously downloaded version, I would recommend using "),
|
|
2170
|
-
createVNode("code", null, "pnpm"),
|
|
2171
|
-
createTextVNode(" to create templates."),
|
|
2172
|
-
createVNode("br"),
|
|
2173
|
-
createTextVNode(" Install "),
|
|
2174
|
-
createVNode(_component_AppLink, {
|
|
2175
|
-
href: "https://pnpm.io/",
|
|
2176
|
-
target: "_blank",
|
|
2177
|
-
rel: "noreferrer"
|
|
2178
|
-
}, {
|
|
2179
|
-
default: withCtx(() => [
|
|
2180
|
-
createTextVNode("pnpm")
|
|
2181
|
-
]),
|
|
2182
|
-
_: 1
|
|
2183
|
-
/* STABLE */
|
|
2184
|
-
}),
|
|
2185
|
-
createTextVNode(":"),
|
|
2186
|
-
createVNode("code", null, "npm i -g pnpm")
|
|
2187
|
-
])
|
|
2188
|
-
])
|
|
2189
|
-
]),
|
|
2190
|
-
createVNode("div", { class: "vp-code-group" }, [
|
|
2191
|
-
createVNode("div", { class: "tabs" }, [
|
|
2192
|
-
createVNode("input", {
|
|
2193
|
-
type: "radio",
|
|
2194
|
-
name: "group-wCj0h",
|
|
2195
|
-
id: "tab-VV8U5WA",
|
|
2196
|
-
checked: "checked"
|
|
2197
|
-
}),
|
|
2198
|
-
createVNode("label", { for: "tab-VV8U5WA" }, "pnpm"),
|
|
2199
|
-
createVNode("input", {
|
|
2200
|
-
type: "radio",
|
|
2201
|
-
name: "group-wCj0h",
|
|
2202
|
-
id: "tab-LCiCDhr"
|
|
2203
|
-
}),
|
|
2204
|
-
createVNode("label", { for: "tab-LCiCDhr" }, "npm")
|
|
2205
|
-
]),
|
|
2206
|
-
createVNode("div", { class: "blocks" }, [
|
|
2207
|
-
createVNode("div", { class: "language-bash active" }, [
|
|
2208
|
-
createVNode("button", {
|
|
2209
|
-
title: "Copy Code",
|
|
2210
|
-
class: "copy"
|
|
2211
|
-
}),
|
|
2212
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2213
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2214
|
-
createVNode("code", null, [
|
|
2215
|
-
createVNode("span", { class: "line" }, [
|
|
2216
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
2217
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2218
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "create"),
|
|
2219
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2220
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy")
|
|
2221
|
-
])
|
|
2222
|
-
])
|
|
2223
|
-
]),
|
|
2224
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2225
|
-
createVNode("code", null, [
|
|
2226
|
-
createVNode("span", { class: "line" }, [
|
|
2227
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
2228
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2229
|
-
createVNode("span", { style: { "color": "#032F62" } }, "create"),
|
|
2230
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2231
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy")
|
|
2232
|
-
])
|
|
2233
|
-
])
|
|
2234
|
-
])
|
|
2235
|
-
]),
|
|
2236
|
-
createVNode("div", { class: "language-bash" }, [
|
|
2237
|
-
createVNode("button", {
|
|
2238
|
-
title: "Copy Code",
|
|
2239
|
-
class: "copy"
|
|
2240
|
-
}),
|
|
2241
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2242
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2243
|
-
createVNode("code", null, [
|
|
2244
|
-
createVNode("span", { class: "line" }, [
|
|
2245
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "npm"),
|
|
2246
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2247
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "init"),
|
|
2248
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2249
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy")
|
|
2250
|
-
])
|
|
2251
|
-
])
|
|
2252
|
-
]),
|
|
2253
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2254
|
-
createVNode("code", null, [
|
|
2255
|
-
createVNode("span", { class: "line" }, [
|
|
2256
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "npm"),
|
|
2257
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2258
|
-
createVNode("span", { style: { "color": "#032F62" } }, "init"),
|
|
2259
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2260
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy")
|
|
2261
|
-
])
|
|
2262
|
-
])
|
|
2263
|
-
])
|
|
2264
|
-
])
|
|
2265
|
-
])
|
|
2266
|
-
]),
|
|
2267
|
-
createVNode("details", { class: "details custom-block" }, [
|
|
2268
|
-
createVNode("summary", null, "You will be greeted with a few simple questions."),
|
|
2269
|
-
createVNode(_component_CreateValaxyTooltip)
|
|
2270
|
-
]),
|
|
2271
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2272
|
-
createVNode("p", null, "跟随命令行提示完成创建!"),
|
|
2273
|
-
createVNode("blockquote", null, [
|
|
2274
|
-
createVNode("p", null, [
|
|
2275
|
-
createTextVNode("默认使用主题 "),
|
|
2276
|
-
createVNode(_component_AppLink, {
|
|
2277
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
2278
|
-
target: "_blank",
|
|
2279
|
-
rel: "noreferrer"
|
|
2280
|
-
}, {
|
|
2281
|
-
default: withCtx(() => [
|
|
2282
|
-
createTextVNode("valaxy-theme-yun")
|
|
2283
|
-
]),
|
|
2284
|
-
_: 1
|
|
2285
|
-
/* STABLE */
|
|
2286
|
-
}),
|
|
2287
|
-
createTextVNode(",当然您也可以安装使用任意其他主题。"),
|
|
2288
|
-
createVNode("br"),
|
|
2289
|
-
createTextVNode(" 本文档同样是一个 Valaxy 主题 "),
|
|
2290
|
-
createVNode(_component_AppLink, {
|
|
2291
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-press/",
|
|
2292
|
-
target: "_blank",
|
|
2293
|
-
rel: "noreferrer"
|
|
2294
|
-
}, {
|
|
2295
|
-
default: withCtx(() => [
|
|
2296
|
-
createTextVNode("valaxy-theme-press")
|
|
2297
|
-
]),
|
|
2298
|
-
_: 1
|
|
2299
|
-
/* STABLE */
|
|
2300
|
-
}),
|
|
2301
|
-
createTextVNode(",它的灵感来自 "),
|
|
2302
|
-
createVNode(_component_AppLink, {
|
|
2303
|
-
href: "https://vitepress.dev/",
|
|
2304
|
-
target: "_blank",
|
|
2305
|
-
rel: "noreferrer"
|
|
2306
|
-
}, {
|
|
2307
|
-
default: withCtx(() => [
|
|
2308
|
-
createTextVNode("VitePress")
|
|
2309
|
-
]),
|
|
2310
|
-
_: 1
|
|
2311
|
-
/* STABLE */
|
|
2312
|
-
}),
|
|
2313
|
-
createTextVNode("。")
|
|
2314
|
-
])
|
|
2315
|
-
])
|
|
2316
|
-
]),
|
|
2317
|
-
createVNode("div", { lang: "en" }, [
|
|
2318
|
-
createVNode("p", null, "Follow the prompt in the commandline to complete the process!"),
|
|
2319
|
-
createVNode("blockquote", null, [
|
|
2320
|
-
createVNode("p", null, [
|
|
2321
|
-
createTextVNode("The default theme used is "),
|
|
2322
|
-
createVNode(_component_AppLink, {
|
|
2323
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-yun/",
|
|
2324
|
-
target: "_blank",
|
|
2325
|
-
rel: "noreferrer"
|
|
2326
|
-
}, {
|
|
2327
|
-
default: withCtx(() => [
|
|
2328
|
-
createTextVNode("valaxy-theme-yun")
|
|
2329
|
-
]),
|
|
2330
|
-
_: 1
|
|
2331
|
-
/* STABLE */
|
|
2332
|
-
}),
|
|
2333
|
-
createTextVNode(", but you can also install any other themes."),
|
|
2334
|
-
createVNode("br"),
|
|
2335
|
-
createTextVNode(" This documentation is also a Valaxy theme: "),
|
|
2336
|
-
createVNode(_component_AppLink, {
|
|
2337
|
-
href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy-theme-press/",
|
|
2338
|
-
target: "_blank",
|
|
2339
|
-
rel: "noreferrer"
|
|
2340
|
-
}, {
|
|
2341
|
-
default: withCtx(() => [
|
|
2342
|
-
createTextVNode("valaxy-theme-press")
|
|
2343
|
-
]),
|
|
2344
|
-
_: 1
|
|
2345
|
-
/* STABLE */
|
|
2346
|
-
}),
|
|
2347
|
-
createTextVNode(". It is inspired by "),
|
|
2348
|
-
createVNode(_component_AppLink, {
|
|
2349
|
-
href: "https://vitepress.dev/",
|
|
2350
|
-
target: "_blank",
|
|
2351
|
-
rel: "noreferrer"
|
|
2352
|
-
}, {
|
|
2353
|
-
default: withCtx(() => [
|
|
2354
|
-
createTextVNode("VitePress")
|
|
2355
|
-
]),
|
|
2356
|
-
_: 1
|
|
2357
|
-
/* STABLE */
|
|
2358
|
-
}),
|
|
2359
|
-
createTextVNode(".")
|
|
2360
|
-
])
|
|
2361
|
-
])
|
|
2362
|
-
]),
|
|
2363
|
-
createVNode("h2", {
|
|
2364
|
-
lang: "en",
|
|
2365
|
-
id: "usage",
|
|
2366
|
-
tabindex: "-1"
|
|
2367
|
-
}, [
|
|
2368
|
-
createTextVNode("Usage "),
|
|
2369
|
-
createVNode(_component_AppLink, {
|
|
2370
|
-
class: "header-anchor",
|
|
2371
|
-
href: "#usage",
|
|
2372
|
-
"aria-label": 'Permalink to "Usage {lang="en"}"'
|
|
2373
|
-
}, {
|
|
2374
|
-
default: withCtx(() => [
|
|
2375
|
-
createTextVNode("")
|
|
2376
|
-
]),
|
|
2377
|
-
_: 1
|
|
2378
|
-
/* STABLE */
|
|
2379
|
-
})
|
|
2380
|
-
]),
|
|
2381
|
-
createVNode("h2", {
|
|
2382
|
-
lang: "zh-CN",
|
|
2383
|
-
id: "使用",
|
|
2384
|
-
tabindex: "-1"
|
|
2385
|
-
}, [
|
|
2386
|
-
createTextVNode("使用 "),
|
|
2387
|
-
createVNode(_component_AppLink, {
|
|
2388
|
-
class: "header-anchor",
|
|
2389
|
-
href: "#使用",
|
|
2390
|
-
"aria-label": 'Permalink to "使用 {lang="zh-CN"}"'
|
|
2391
|
-
}, {
|
|
2392
|
-
default: withCtx(() => [
|
|
2393
|
-
createTextVNode("")
|
|
2394
|
-
]),
|
|
2395
|
-
_: 1
|
|
2396
|
-
/* STABLE */
|
|
2397
|
-
})
|
|
2398
|
-
]),
|
|
2399
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2400
|
-
createVNode("blockquote", null, [
|
|
2401
|
-
createVNode("p", null, [
|
|
2402
|
-
createTextVNode("进入你创建好后的文件夹目录后,执行以下命令。 譬如:"),
|
|
2403
|
-
createVNode("code", null, "cd valaxy-blog"),
|
|
2404
|
-
createTextVNode("。")
|
|
2405
|
-
])
|
|
2406
|
-
]),
|
|
2407
|
-
createVNode("p", null, "安装依赖:")
|
|
2408
|
-
]),
|
|
2409
|
-
createVNode("div", { lang: "en" }, [
|
|
2410
|
-
createVNode("blockquote", null, [
|
|
2411
|
-
createVNode("p", null, [
|
|
2412
|
-
createTextVNode("Enter the folder for the Valaxy project you just created, and execute the following commands. For example: "),
|
|
2413
|
-
createVNode("code", null, "cd valaxy-blog"),
|
|
2414
|
-
createTextVNode(".")
|
|
2415
|
-
])
|
|
2416
|
-
]),
|
|
2417
|
-
createVNode("p", null, "Install the dependencies:")
|
|
2418
|
-
]),
|
|
2419
|
-
createVNode("div", { class: "vp-code-group" }, [
|
|
2420
|
-
createVNode("div", { class: "tabs" }, [
|
|
2421
|
-
createVNode("input", {
|
|
2422
|
-
type: "radio",
|
|
2423
|
-
name: "group-Tv-yj",
|
|
2424
|
-
id: "tab-xJtmfSS",
|
|
2425
|
-
checked: "checked"
|
|
2426
|
-
}),
|
|
2427
|
-
createVNode("label", { for: "tab-xJtmfSS" }, "pnpm"),
|
|
2428
|
-
createVNode("input", {
|
|
2429
|
-
type: "radio",
|
|
2430
|
-
name: "group-Tv-yj",
|
|
2431
|
-
id: "tab-11m7NN2"
|
|
2432
|
-
}),
|
|
2433
|
-
createVNode("label", { for: "tab-11m7NN2" }, "npm")
|
|
2434
|
-
]),
|
|
2435
|
-
createVNode("div", { class: "blocks" }, [
|
|
2436
|
-
createVNode("div", { class: "language-bash active" }, [
|
|
2437
|
-
createVNode("button", {
|
|
2438
|
-
title: "Copy Code",
|
|
2439
|
-
class: "copy"
|
|
2440
|
-
}),
|
|
2441
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2442
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2443
|
-
createVNode("code", null, [
|
|
2444
|
-
createVNode("span", { class: "line" }, [
|
|
2445
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# install")
|
|
2446
|
-
]),
|
|
2447
|
-
createTextVNode("\n"),
|
|
2448
|
-
createVNode("span", { class: "line" }, [
|
|
2449
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
2450
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2451
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "i")
|
|
2452
|
-
])
|
|
2453
|
-
])
|
|
2454
|
-
]),
|
|
2455
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2456
|
-
createVNode("code", null, [
|
|
2457
|
-
createVNode("span", { class: "line" }, [
|
|
2458
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# install")
|
|
2459
|
-
]),
|
|
2460
|
-
createTextVNode("\n"),
|
|
2461
|
-
createVNode("span", { class: "line" }, [
|
|
2462
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
2463
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2464
|
-
createVNode("span", { style: { "color": "#032F62" } }, "i")
|
|
2465
|
-
])
|
|
2466
|
-
])
|
|
2467
|
-
])
|
|
2468
|
-
]),
|
|
2469
|
-
createVNode("div", { class: "language-bash" }, [
|
|
2470
|
-
createVNode("button", {
|
|
2471
|
-
title: "Copy Code",
|
|
2472
|
-
class: "copy"
|
|
2473
|
-
}),
|
|
2474
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2475
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2476
|
-
createVNode("code", null, [
|
|
2477
|
-
createVNode("span", { class: "line" }, [
|
|
2478
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# install")
|
|
2479
|
-
]),
|
|
2480
|
-
createTextVNode("\n"),
|
|
2481
|
-
createVNode("span", { class: "line" }, [
|
|
2482
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "npm"),
|
|
2483
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2484
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "i")
|
|
2485
|
-
])
|
|
2486
|
-
])
|
|
2487
|
-
]),
|
|
2488
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2489
|
-
createVNode("code", null, [
|
|
2490
|
-
createVNode("span", { class: "line" }, [
|
|
2491
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# install")
|
|
2492
|
-
]),
|
|
2493
|
-
createTextVNode("\n"),
|
|
2494
|
-
createVNode("span", { class: "line" }, [
|
|
2495
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "npm"),
|
|
2496
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2497
|
-
createVNode("span", { style: { "color": "#032F62" } }, "i")
|
|
2498
|
-
])
|
|
2499
|
-
])
|
|
2500
|
-
])
|
|
2501
|
-
])
|
|
2502
|
-
])
|
|
2503
|
-
]),
|
|
2504
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2505
|
-
createVNode("p", null, "启动预览:")
|
|
2506
|
-
]),
|
|
2507
|
-
createVNode("div", { lang: "en" }, [
|
|
2508
|
-
createVNode("p", null, "Start a preview:")
|
|
2509
|
-
]),
|
|
2510
|
-
createVNode("div", { class: "vp-code-group" }, [
|
|
2511
|
-
createVNode("div", { class: "tabs" }, [
|
|
2512
|
-
createVNode("input", {
|
|
2513
|
-
type: "radio",
|
|
2514
|
-
name: "group-dJInC",
|
|
2515
|
-
id: "tab-LaEzfc-",
|
|
2516
|
-
checked: "checked"
|
|
2517
|
-
}),
|
|
2518
|
-
createVNode("label", { for: "tab-LaEzfc-" }, "pnpm"),
|
|
2519
|
-
createVNode("input", {
|
|
2520
|
-
type: "radio",
|
|
2521
|
-
name: "group-dJInC",
|
|
2522
|
-
id: "tab-P5smWPf"
|
|
2523
|
-
}),
|
|
2524
|
-
createVNode("label", { for: "tab-P5smWPf" }, "npm")
|
|
2525
|
-
]),
|
|
2526
|
-
createVNode("div", { class: "blocks" }, [
|
|
2527
|
-
createVNode("div", { class: "language-bash active" }, [
|
|
2528
|
-
createVNode("button", {
|
|
2529
|
-
title: "Copy Code",
|
|
2530
|
-
class: "copy"
|
|
2531
|
-
}),
|
|
2532
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2533
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2534
|
-
createVNode("code", null, [
|
|
2535
|
-
createVNode("span", { class: "line" }, [
|
|
2536
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# start")
|
|
2537
|
-
]),
|
|
2538
|
-
createTextVNode("\n"),
|
|
2539
|
-
createVNode("span", { class: "line" }, [
|
|
2540
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
2541
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2542
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "dev")
|
|
2543
|
-
])
|
|
2544
|
-
])
|
|
2545
|
-
]),
|
|
2546
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2547
|
-
createVNode("code", null, [
|
|
2548
|
-
createVNode("span", { class: "line" }, [
|
|
2549
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# start")
|
|
2550
|
-
]),
|
|
2551
|
-
createTextVNode("\n"),
|
|
2552
|
-
createVNode("span", { class: "line" }, [
|
|
2553
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
2554
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2555
|
-
createVNode("span", { style: { "color": "#032F62" } }, "dev")
|
|
2556
|
-
])
|
|
2557
|
-
])
|
|
2558
|
-
])
|
|
2559
|
-
]),
|
|
2560
|
-
createVNode("div", { class: "language-bash" }, [
|
|
2561
|
-
createVNode("button", {
|
|
2562
|
-
title: "Copy Code",
|
|
2563
|
-
class: "copy"
|
|
2564
|
-
}),
|
|
2565
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2566
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2567
|
-
createVNode("code", null, [
|
|
2568
|
-
createVNode("span", { class: "line" }, [
|
|
2569
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# start")
|
|
2570
|
-
]),
|
|
2571
|
-
createTextVNode("\n"),
|
|
2572
|
-
createVNode("span", { class: "line" }, [
|
|
2573
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "npm"),
|
|
2574
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2575
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "run"),
|
|
2576
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2577
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "dev")
|
|
2578
|
-
])
|
|
2579
|
-
])
|
|
2580
|
-
]),
|
|
2581
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2582
|
-
createVNode("code", null, [
|
|
2583
|
-
createVNode("span", { class: "line" }, [
|
|
2584
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# start")
|
|
2585
|
-
]),
|
|
2586
|
-
createTextVNode("\n"),
|
|
2587
|
-
createVNode("span", { class: "line" }, [
|
|
2588
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "npm"),
|
|
2589
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2590
|
-
createVNode("span", { style: { "color": "#032F62" } }, "run"),
|
|
2591
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2592
|
-
createVNode("span", { style: { "color": "#032F62" } }, "dev")
|
|
2593
|
-
])
|
|
2594
|
-
])
|
|
2595
|
-
])
|
|
2596
|
-
])
|
|
2597
|
-
])
|
|
2598
|
-
]),
|
|
2599
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2600
|
-
createVNode("p", null, [
|
|
2601
|
-
createTextVNode("博客创建完毕,查看本地 "),
|
|
2602
|
-
createVNode("code", null, "http://localhost:4859/"),
|
|
2603
|
-
createTextVNode(",玩的开心!")
|
|
2604
|
-
]),
|
|
2605
|
-
createVNode("ul", null, [
|
|
2606
|
-
createVNode("li", null, [
|
|
2607
|
-
createTextVNode("Valaxy 博客通用的配置可参见 "),
|
|
2608
|
-
createVNode(_component_AppLink, { href: "/guide/config/" }, {
|
|
2609
|
-
default: withCtx(() => [
|
|
2610
|
-
createTextVNode("配置")
|
|
2611
|
-
]),
|
|
2612
|
-
_: 1
|
|
2613
|
-
/* STABLE */
|
|
2614
|
-
}),
|
|
2615
|
-
createTextVNode(" 与 "),
|
|
2616
|
-
createVNode(_component_AppLink, { href: "/guide/custom/extend" }, {
|
|
2617
|
-
default: withCtx(() => [
|
|
2618
|
-
createTextVNode("自定义扩展")
|
|
2619
|
-
]),
|
|
2620
|
-
_: 1
|
|
2621
|
-
/* STABLE */
|
|
2622
|
-
}),
|
|
2623
|
-
createTextVNode("。")
|
|
2624
|
-
]),
|
|
2625
|
-
createVNode("li", null, "Valaxy 主题独有配置请参见对应主题文档。(Valaxy Theme Yun 主题文档编写中……)")
|
|
2626
|
-
])
|
|
2627
|
-
]),
|
|
2628
|
-
createVNode("div", { lang: "en" }, [
|
|
2629
|
-
createVNode("p", null, [
|
|
2630
|
-
createTextVNode("See "),
|
|
2631
|
-
createVNode("code", null, "http://localhost:4859/"),
|
|
2632
|
-
createTextVNode(", have fun!")
|
|
2633
|
-
]),
|
|
2634
|
-
createVNode("ul", null, [
|
|
2635
|
-
createVNode("li", null, [
|
|
2636
|
-
createTextVNode("See "),
|
|
2637
|
-
createVNode(_component_AppLink, { href: "/guide/config/" }, {
|
|
2638
|
-
default: withCtx(() => [
|
|
2639
|
-
createTextVNode("Config")
|
|
2640
|
-
]),
|
|
2641
|
-
_: 1
|
|
2642
|
-
/* STABLE */
|
|
2643
|
-
}),
|
|
2644
|
-
createTextVNode(" and "),
|
|
2645
|
-
createVNode(_component_AppLink, { href: "/guide/custom/extend" }, {
|
|
2646
|
-
default: withCtx(() => [
|
|
2647
|
-
createTextVNode("Custom Extensions")
|
|
2648
|
-
]),
|
|
2649
|
-
_: 1
|
|
2650
|
-
/* STABLE */
|
|
2651
|
-
}),
|
|
2652
|
-
createTextVNode(" for the general configuration for Valaxy blogs.")
|
|
2653
|
-
]),
|
|
2654
|
-
createVNode("li", null, "For configuring Valaxy themes, please see the documentation for the corresponding themes. (Docs for Valaxy Theme Yun is still work in progress)")
|
|
2655
|
-
])
|
|
2656
|
-
]),
|
|
2657
|
-
createVNode("h3", {
|
|
2658
|
-
lang: "en",
|
|
2659
|
-
id: "config",
|
|
2660
|
-
tabindex: "-1"
|
|
2661
|
-
}, [
|
|
2662
|
-
createTextVNode("Config "),
|
|
2663
|
-
createVNode(_component_AppLink, {
|
|
2664
|
-
class: "header-anchor",
|
|
2665
|
-
href: "#config",
|
|
2666
|
-
"aria-label": 'Permalink to "Config {lang="en"}"'
|
|
2667
|
-
}, {
|
|
2668
|
-
default: withCtx(() => [
|
|
2669
|
-
createTextVNode("")
|
|
2670
|
-
]),
|
|
2671
|
-
_: 1
|
|
2672
|
-
/* STABLE */
|
|
2673
|
-
})
|
|
2674
|
-
]),
|
|
2675
|
-
createVNode("h3", {
|
|
2676
|
-
lang: "zh-CN",
|
|
2677
|
-
id: "配置",
|
|
2678
|
-
tabindex: "-1"
|
|
2679
|
-
}, [
|
|
2680
|
-
createTextVNode("配置 "),
|
|
2681
|
-
createVNode(_component_AppLink, {
|
|
2682
|
-
class: "header-anchor",
|
|
2683
|
-
href: "#配置",
|
|
2684
|
-
"aria-label": 'Permalink to "配置 {lang="zh-CN"}"'
|
|
2685
|
-
}, {
|
|
2686
|
-
default: withCtx(() => [
|
|
2687
|
-
createTextVNode("")
|
|
2688
|
-
]),
|
|
2689
|
-
_: 1
|
|
2690
|
-
/* STABLE */
|
|
2691
|
-
})
|
|
2692
|
-
]),
|
|
2693
|
-
createVNode("div", { lang: "en" }, [
|
|
2694
|
-
createVNode("p", null, [
|
|
2695
|
-
createTextVNode("Modify "),
|
|
2696
|
-
createVNode("code", null, "valaxy.config.ts"),
|
|
2697
|
-
createTextVNode(" to custom your blog.")
|
|
2698
|
-
]),
|
|
2699
|
-
createVNode("p", null, "Documentation is being improved!")
|
|
2700
|
-
]),
|
|
2701
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2702
|
-
createVNode("p", null, [
|
|
2703
|
-
createTextVNode("修改 "),
|
|
2704
|
-
createVNode("code", null, "valaxy.config.ts"),
|
|
2705
|
-
createTextVNode(" 来自定义你的博客吧。")
|
|
2706
|
-
]),
|
|
2707
|
-
createVNode("p", null, "文档正在不断完善中!")
|
|
2708
|
-
]),
|
|
2709
|
-
createVNode("h2", {
|
|
2710
|
-
lang: "en",
|
|
2711
|
-
id: "deployment",
|
|
2712
|
-
tabindex: "-1"
|
|
2713
|
-
}, [
|
|
2714
|
-
createTextVNode("Deployment "),
|
|
2715
|
-
createVNode(_component_AppLink, {
|
|
2716
|
-
class: "header-anchor",
|
|
2717
|
-
href: "#deployment",
|
|
2718
|
-
"aria-label": 'Permalink to "Deployment {lang="en"}"'
|
|
2719
|
-
}, {
|
|
2720
|
-
default: withCtx(() => [
|
|
2721
|
-
createTextVNode("")
|
|
2722
|
-
]),
|
|
2723
|
-
_: 1
|
|
2724
|
-
/* STABLE */
|
|
2725
|
-
})
|
|
2726
|
-
]),
|
|
2727
|
-
createVNode("h2", {
|
|
2728
|
-
lang: "zh-CN",
|
|
2729
|
-
id: "部署",
|
|
2730
|
-
tabindex: "-1"
|
|
2731
|
-
}, [
|
|
2732
|
-
createTextVNode("部署 "),
|
|
2733
|
-
createVNode(_component_AppLink, {
|
|
2734
|
-
class: "header-anchor",
|
|
2735
|
-
href: "#部署",
|
|
2736
|
-
"aria-label": 'Permalink to "部署 {lang="zh-CN"}"'
|
|
2737
|
-
}, {
|
|
2738
|
-
default: withCtx(() => [
|
|
2739
|
-
createTextVNode("")
|
|
2740
|
-
]),
|
|
2741
|
-
_: 1
|
|
2742
|
-
/* STABLE */
|
|
2743
|
-
})
|
|
2744
|
-
]),
|
|
2745
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2746
|
-
createVNode("p", null, [
|
|
2747
|
-
createTextVNode("部署可参见 "),
|
|
2748
|
-
createVNode(_component_AppLink, { href: "/guide/deploy" }, {
|
|
2749
|
-
default: withCtx(() => [
|
|
2750
|
-
createTextVNode("部署|指南")
|
|
2751
|
-
]),
|
|
2752
|
-
_: 1
|
|
2753
|
-
/* STABLE */
|
|
2754
|
-
}),
|
|
2755
|
-
createTextVNode("。")
|
|
2756
|
-
])
|
|
2757
|
-
]),
|
|
2758
|
-
createVNode("div", { lang: "en" }, [
|
|
2759
|
-
createVNode("p", null, [
|
|
2760
|
-
createTextVNode("See "),
|
|
2761
|
-
createVNode(_component_AppLink, { href: "/guide/deploy" }, {
|
|
2762
|
-
default: withCtx(() => [
|
|
2763
|
-
createTextVNode("Deployment")
|
|
2764
|
-
]),
|
|
2765
|
-
_: 1
|
|
2766
|
-
/* STABLE */
|
|
2767
|
-
}),
|
|
2768
|
-
createTextVNode(" for deployment guide.")
|
|
2769
|
-
])
|
|
2770
|
-
]),
|
|
2771
|
-
createVNode("h2", {
|
|
2772
|
-
lang: "en",
|
|
2773
|
-
id: "upgrading",
|
|
2774
|
-
tabindex: "-1"
|
|
2775
|
-
}, [
|
|
2776
|
-
createTextVNode("Upgrading "),
|
|
2777
|
-
createVNode(_component_AppLink, {
|
|
2778
|
-
class: "header-anchor",
|
|
2779
|
-
href: "#upgrading",
|
|
2780
|
-
"aria-label": 'Permalink to "Upgrading {lang="en"}"'
|
|
2781
|
-
}, {
|
|
2782
|
-
default: withCtx(() => [
|
|
2783
|
-
createTextVNode("")
|
|
2784
|
-
]),
|
|
2785
|
-
_: 1
|
|
2786
|
-
/* STABLE */
|
|
2787
|
-
})
|
|
2788
|
-
]),
|
|
2789
|
-
createVNode("h2", {
|
|
2790
|
-
lang: "zh-CN",
|
|
2791
|
-
id: "升级",
|
|
2792
|
-
tabindex: "-1"
|
|
2793
|
-
}, [
|
|
2794
|
-
createTextVNode("升级 "),
|
|
2795
|
-
createVNode(_component_AppLink, {
|
|
2796
|
-
class: "header-anchor",
|
|
2797
|
-
href: "#升级",
|
|
2798
|
-
"aria-label": 'Permalink to "升级 {lang="zh-CN"}"'
|
|
2799
|
-
}, {
|
|
2800
|
-
default: withCtx(() => [
|
|
2801
|
-
createTextVNode("")
|
|
2802
|
-
]),
|
|
2803
|
-
_: 1
|
|
2804
|
-
/* STABLE */
|
|
2805
|
-
})
|
|
2806
|
-
]),
|
|
2807
|
-
createVNode("div", { class: "vp-code-group" }, [
|
|
2808
|
-
createVNode("div", { class: "tabs" }, [
|
|
2809
|
-
createVNode("input", {
|
|
2810
|
-
type: "radio",
|
|
2811
|
-
name: "group-9onqe",
|
|
2812
|
-
id: "tab-AuoWnPV",
|
|
2813
|
-
checked: "checked"
|
|
2814
|
-
}),
|
|
2815
|
-
createVNode("label", { for: "tab-AuoWnPV" }, "pnpm"),
|
|
2816
|
-
createVNode("input", {
|
|
2817
|
-
type: "radio",
|
|
2818
|
-
name: "group-9onqe",
|
|
2819
|
-
id: "tab-DVgkceN"
|
|
2820
|
-
}),
|
|
2821
|
-
createVNode("label", { for: "tab-DVgkceN" }, "npm")
|
|
2822
|
-
]),
|
|
2823
|
-
createVNode("div", { class: "blocks" }, [
|
|
2824
|
-
createVNode("div", { class: "language-bash active" }, [
|
|
2825
|
-
createVNode("button", {
|
|
2826
|
-
title: "Copy Code",
|
|
2827
|
-
class: "copy"
|
|
2828
|
-
}),
|
|
2829
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2830
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2831
|
-
createVNode("code", null, [
|
|
2832
|
-
createVNode("span", { class: "line" }, [
|
|
2833
|
-
createVNode("span", { style: { "color": "#79B8FF" } }, "cd"),
|
|
2834
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2835
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "your-blog")
|
|
2836
|
-
]),
|
|
2837
|
-
createTextVNode("\n"),
|
|
2838
|
-
createVNode("span", { class: "line" }, [
|
|
2839
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade valaxy")
|
|
2840
|
-
]),
|
|
2841
|
-
createTextVNode("\n"),
|
|
2842
|
-
createVNode("span", { class: "line" }, [
|
|
2843
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
2844
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2845
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "add"),
|
|
2846
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2847
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy@latest")
|
|
2848
|
-
]),
|
|
2849
|
-
createTextVNode("\n"),
|
|
2850
|
-
createVNode("span", { class: "line" }, [
|
|
2851
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade theme")
|
|
2852
|
-
]),
|
|
2853
|
-
createTextVNode("\n"),
|
|
2854
|
-
createVNode("span", { class: "line" }, [
|
|
2855
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
2856
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2857
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "add"),
|
|
2858
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2859
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy-theme-yun@latest")
|
|
2860
|
-
])
|
|
2861
|
-
])
|
|
2862
|
-
]),
|
|
2863
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2864
|
-
createVNode("code", null, [
|
|
2865
|
-
createVNode("span", { class: "line" }, [
|
|
2866
|
-
createVNode("span", { style: { "color": "#005CC5" } }, "cd"),
|
|
2867
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2868
|
-
createVNode("span", { style: { "color": "#032F62" } }, "your-blog")
|
|
2869
|
-
]),
|
|
2870
|
-
createTextVNode("\n"),
|
|
2871
|
-
createVNode("span", { class: "line" }, [
|
|
2872
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade valaxy")
|
|
2873
|
-
]),
|
|
2874
|
-
createTextVNode("\n"),
|
|
2875
|
-
createVNode("span", { class: "line" }, [
|
|
2876
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
2877
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2878
|
-
createVNode("span", { style: { "color": "#032F62" } }, "add"),
|
|
2879
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2880
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy@latest")
|
|
2881
|
-
]),
|
|
2882
|
-
createTextVNode("\n"),
|
|
2883
|
-
createVNode("span", { class: "line" }, [
|
|
2884
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade theme")
|
|
2885
|
-
]),
|
|
2886
|
-
createTextVNode("\n"),
|
|
2887
|
-
createVNode("span", { class: "line" }, [
|
|
2888
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
2889
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2890
|
-
createVNode("span", { style: { "color": "#032F62" } }, "add"),
|
|
2891
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2892
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy-theme-yun@latest")
|
|
2893
|
-
])
|
|
2894
|
-
])
|
|
2895
|
-
])
|
|
2896
|
-
]),
|
|
2897
|
-
createVNode("div", { class: "language-bash" }, [
|
|
2898
|
-
createVNode("button", {
|
|
2899
|
-
title: "Copy Code",
|
|
2900
|
-
class: "copy"
|
|
2901
|
-
}),
|
|
2902
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
2903
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
2904
|
-
createVNode("code", null, [
|
|
2905
|
-
createVNode("span", { class: "line" }, [
|
|
2906
|
-
createVNode("span", { style: { "color": "#79B8FF" } }, "cd"),
|
|
2907
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2908
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "your-blog")
|
|
2909
|
-
]),
|
|
2910
|
-
createTextVNode("\n"),
|
|
2911
|
-
createVNode("span", { class: "line" }, [
|
|
2912
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade valaxy")
|
|
2913
|
-
]),
|
|
2914
|
-
createTextVNode("\n"),
|
|
2915
|
-
createVNode("span", { class: "line" }, [
|
|
2916
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "npm"),
|
|
2917
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2918
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "i"),
|
|
2919
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2920
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy@latest")
|
|
2921
|
-
]),
|
|
2922
|
-
createTextVNode("\n"),
|
|
2923
|
-
createVNode("span", { class: "line" }, [
|
|
2924
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade theme")
|
|
2925
|
-
]),
|
|
2926
|
-
createTextVNode("\n"),
|
|
2927
|
-
createVNode("span", { class: "line" }, [
|
|
2928
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "npm"),
|
|
2929
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2930
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "i"),
|
|
2931
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
2932
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "valaxy-theme-yun@latest")
|
|
2933
|
-
])
|
|
2934
|
-
])
|
|
2935
|
-
]),
|
|
2936
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
2937
|
-
createVNode("code", null, [
|
|
2938
|
-
createVNode("span", { class: "line" }, [
|
|
2939
|
-
createVNode("span", { style: { "color": "#005CC5" } }, "cd"),
|
|
2940
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2941
|
-
createVNode("span", { style: { "color": "#032F62" } }, "your-blog")
|
|
2942
|
-
]),
|
|
2943
|
-
createTextVNode("\n"),
|
|
2944
|
-
createVNode("span", { class: "line" }, [
|
|
2945
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade valaxy")
|
|
2946
|
-
]),
|
|
2947
|
-
createTextVNode("\n"),
|
|
2948
|
-
createVNode("span", { class: "line" }, [
|
|
2949
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "npm"),
|
|
2950
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2951
|
-
createVNode("span", { style: { "color": "#032F62" } }, "i"),
|
|
2952
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2953
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy@latest")
|
|
2954
|
-
]),
|
|
2955
|
-
createTextVNode("\n"),
|
|
2956
|
-
createVNode("span", { class: "line" }, [
|
|
2957
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# upgrade theme")
|
|
2958
|
-
]),
|
|
2959
|
-
createTextVNode("\n"),
|
|
2960
|
-
createVNode("span", { class: "line" }, [
|
|
2961
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "npm"),
|
|
2962
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2963
|
-
createVNode("span", { style: { "color": "#032F62" } }, "i"),
|
|
2964
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
2965
|
-
createVNode("span", { style: { "color": "#032F62" } }, "valaxy-theme-yun@latest")
|
|
2966
|
-
])
|
|
2967
|
-
])
|
|
2968
|
-
])
|
|
2969
|
-
])
|
|
2970
|
-
])
|
|
2971
|
-
]),
|
|
2972
|
-
createVNode("h3", {
|
|
2973
|
-
id: "pnpm",
|
|
2974
|
-
tabindex: "-1"
|
|
2975
|
-
}, [
|
|
2976
|
-
createTextVNode("pnpm "),
|
|
2977
|
-
createVNode(_component_AppLink, {
|
|
2978
|
-
class: "header-anchor",
|
|
2979
|
-
href: "#pnpm",
|
|
2980
|
-
"aria-label": 'Permalink to "pnpm"'
|
|
2981
|
-
}, {
|
|
2982
|
-
default: withCtx(() => [
|
|
2983
|
-
createTextVNode("")
|
|
2984
|
-
]),
|
|
2985
|
-
_: 1
|
|
2986
|
-
/* STABLE */
|
|
2987
|
-
})
|
|
2988
|
-
]),
|
|
2989
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
2990
|
-
createVNode("blockquote", null, [
|
|
2991
|
-
createVNode("p", null, "你可以使用 pnpm 的交互升级命令。")
|
|
2992
|
-
])
|
|
2993
|
-
]),
|
|
2994
|
-
createVNode("div", { lang: "en" }, [
|
|
2995
|
-
createVNode("blockquote", null, [
|
|
2996
|
-
createVNode("p", null, [
|
|
2997
|
-
createTextVNode("You can use the interactive upgrade command provided by "),
|
|
2998
|
-
createVNode("code", null, "pnpm"),
|
|
2999
|
-
createTextVNode(".")
|
|
3000
|
-
])
|
|
3001
|
-
])
|
|
3002
|
-
]),
|
|
3003
|
-
createVNode("div", { class: "language-bash" }, [
|
|
3004
|
-
createVNode("button", {
|
|
3005
|
-
title: "Copy Code",
|
|
3006
|
-
class: "copy"
|
|
3007
|
-
}),
|
|
3008
|
-
createVNode("span", { class: "lang" }, "bash"),
|
|
3009
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
3010
|
-
createVNode("code", null, [
|
|
3011
|
-
createVNode("span", { class: "line" }, [
|
|
3012
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# interactive upgrade")
|
|
3013
|
-
]),
|
|
3014
|
-
createTextVNode("\n"),
|
|
3015
|
-
createVNode("span", { class: "line" }, [
|
|
3016
|
-
createVNode("span", { style: { "color": "#B392F0" } }, "pnpm"),
|
|
3017
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
3018
|
-
createVNode("span", { style: { "color": "#9ECBFF" } }, "up"),
|
|
3019
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
3020
|
-
createVNode("span", { style: { "color": "#79B8FF" } }, "--latest"),
|
|
3021
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
|
|
3022
|
-
createVNode("span", { style: { "color": "#79B8FF" } }, "-i")
|
|
3023
|
-
])
|
|
3024
|
-
])
|
|
3025
|
-
]),
|
|
3026
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
3027
|
-
createVNode("code", null, [
|
|
3028
|
-
createVNode("span", { class: "line" }, [
|
|
3029
|
-
createVNode("span", { style: { "color": "#6A737D" } }, "# interactive upgrade")
|
|
3030
|
-
]),
|
|
3031
|
-
createTextVNode("\n"),
|
|
3032
|
-
createVNode("span", { class: "line" }, [
|
|
3033
|
-
createVNode("span", { style: { "color": "#6F42C1" } }, "pnpm"),
|
|
3034
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
3035
|
-
createVNode("span", { style: { "color": "#032F62" } }, "up"),
|
|
3036
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
3037
|
-
createVNode("span", { style: { "color": "#005CC5" } }, "--latest"),
|
|
3038
|
-
createVNode("span", { style: { "color": "#24292E" } }, " "),
|
|
3039
|
-
createVNode("span", { style: { "color": "#005CC5" } }, "-i")
|
|
3040
|
-
])
|
|
3041
|
-
])
|
|
3042
|
-
])
|
|
3043
|
-
]),
|
|
3044
|
-
createVNode("h2", {
|
|
3045
|
-
id: "迁移",
|
|
3046
|
-
tabindex: "-1"
|
|
3047
|
-
}, [
|
|
3048
|
-
createTextVNode("迁移 "),
|
|
3049
|
-
createVNode(_component_AppLink, {
|
|
3050
|
-
class: "header-anchor",
|
|
3051
|
-
href: "#迁移",
|
|
3052
|
-
"aria-label": 'Permalink to "迁移"'
|
|
3053
|
-
}, {
|
|
3054
|
-
default: withCtx(() => [
|
|
3055
|
-
createTextVNode("")
|
|
3056
|
-
]),
|
|
3057
|
-
_: 1
|
|
3058
|
-
/* STABLE */
|
|
3059
|
-
})
|
|
3060
|
-
]),
|
|
3061
|
-
createVNode("p", null, [
|
|
3062
|
-
createTextVNode("如果你来自其他博客框架,可参考 "),
|
|
3063
|
-
createVNode(_component_AppLink, { href: "/migration/" }, {
|
|
3064
|
-
default: withCtx(() => [
|
|
3065
|
-
createTextVNode("迁移")
|
|
3066
|
-
]),
|
|
3067
|
-
_: 1
|
|
3068
|
-
/* STABLE */
|
|
3069
|
-
}),
|
|
3070
|
-
createTextVNode("。")
|
|
3071
|
-
]),
|
|
3072
|
-
createVNode("h2", {
|
|
3073
|
-
lang: "en",
|
|
3074
|
-
id: "directory-structure",
|
|
3075
|
-
tabindex: "-1"
|
|
3076
|
-
}, [
|
|
3077
|
-
createTextVNode("Directory Structure "),
|
|
3078
|
-
createVNode(_component_AppLink, {
|
|
3079
|
-
class: "header-anchor",
|
|
3080
|
-
href: "#directory-structure",
|
|
3081
|
-
"aria-label": 'Permalink to "Directory Structure {lang="en"}"'
|
|
3082
|
-
}, {
|
|
3083
|
-
default: withCtx(() => [
|
|
3084
|
-
createTextVNode("")
|
|
3085
|
-
]),
|
|
3086
|
-
_: 1
|
|
3087
|
-
/* STABLE */
|
|
3088
|
-
})
|
|
3089
|
-
]),
|
|
3090
|
-
createVNode("h2", {
|
|
3091
|
-
lang: "zh-CN",
|
|
3092
|
-
id: "目录结构",
|
|
3093
|
-
tabindex: "-1"
|
|
3094
|
-
}, [
|
|
3095
|
-
createTextVNode("目录结构 "),
|
|
3096
|
-
createVNode(_component_AppLink, {
|
|
3097
|
-
class: "header-anchor",
|
|
3098
|
-
href: "#目录结构",
|
|
3099
|
-
"aria-label": 'Permalink to "目录结构 {lang="zh-CN"}"'
|
|
3100
|
-
}, {
|
|
3101
|
-
default: withCtx(() => [
|
|
3102
|
-
createTextVNode("")
|
|
3103
|
-
]),
|
|
3104
|
-
_: 1
|
|
3105
|
-
/* STABLE */
|
|
3106
|
-
})
|
|
3107
|
-
]),
|
|
3108
|
-
createVNode("div", { lang: "en" }, [
|
|
3109
|
-
createVNode("p", null, [
|
|
3110
|
-
createTextVNode("In most cases, you only need to work in the "),
|
|
3111
|
-
createVNode("code", null, "pages"),
|
|
3112
|
-
createTextVNode(" folder.")
|
|
3113
|
-
])
|
|
3114
|
-
]),
|
|
3115
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
3116
|
-
createVNode("p", null, [
|
|
3117
|
-
createTextVNode("在大部分情况下,你只需要在 "),
|
|
3118
|
-
createVNode("code", null, "pages"),
|
|
3119
|
-
createTextVNode(" 文件夹下进行工作,编写文章。")
|
|
3120
|
-
])
|
|
3121
|
-
]),
|
|
3122
|
-
createVNode("h3", {
|
|
3123
|
-
lang: "en",
|
|
3124
|
-
id: "main-folders",
|
|
3125
|
-
tabindex: "-1"
|
|
3126
|
-
}, [
|
|
3127
|
-
createTextVNode("Main folders "),
|
|
3128
|
-
createVNode(_component_AppLink, {
|
|
3129
|
-
class: "header-anchor",
|
|
3130
|
-
href: "#main-folders",
|
|
3131
|
-
"aria-label": 'Permalink to "Main folders {lang="en"}"'
|
|
3132
|
-
}, {
|
|
3133
|
-
default: withCtx(() => [
|
|
3134
|
-
createTextVNode("")
|
|
3135
|
-
]),
|
|
3136
|
-
_: 1
|
|
3137
|
-
/* STABLE */
|
|
3138
|
-
})
|
|
3139
|
-
]),
|
|
3140
|
-
createVNode("h3", {
|
|
3141
|
-
lang: "zh-CN",
|
|
3142
|
-
id: "主要的文件夹",
|
|
3143
|
-
tabindex: "-1"
|
|
3144
|
-
}, [
|
|
3145
|
-
createTextVNode("主要的文件夹 "),
|
|
3146
|
-
createVNode(_component_AppLink, {
|
|
3147
|
-
class: "header-anchor",
|
|
3148
|
-
href: "#主要的文件夹",
|
|
3149
|
-
"aria-label": 'Permalink to "主要的文件夹 {lang="zh-CN"}"'
|
|
3150
|
-
}, {
|
|
3151
|
-
default: withCtx(() => [
|
|
3152
|
-
createTextVNode("")
|
|
3153
|
-
]),
|
|
3154
|
-
_: 1
|
|
3155
|
-
/* STABLE */
|
|
3156
|
-
})
|
|
3157
|
-
]),
|
|
3158
|
-
createVNode("div", { lang: "en" }, [
|
|
3159
|
-
createVNode("ul", null, [
|
|
3160
|
-
createVNode("li", null, [
|
|
3161
|
-
createVNode("code", null, "pages"),
|
|
3162
|
-
createTextVNode(": your all pages "),
|
|
3163
|
-
createVNode("ul", null, [
|
|
3164
|
-
createVNode("li", null, [
|
|
3165
|
-
createVNode("code", null, "posts"),
|
|
3166
|
-
createTextVNode(": write your posts here, will be counted as posts")
|
|
3167
|
-
])
|
|
3168
|
-
])
|
|
3169
|
-
]),
|
|
3170
|
-
createVNode("li", null, [
|
|
3171
|
-
createVNode("code", null, "styles"),
|
|
3172
|
-
createTextVNode(": override theme styles, "),
|
|
3173
|
-
createVNode("code", null, "index.scss"),
|
|
3174
|
-
createTextVNode("/"),
|
|
3175
|
-
createVNode("code", null, "vars.csss"),
|
|
3176
|
-
createTextVNode("/"),
|
|
3177
|
-
createVNode("code", null, "index.css"),
|
|
3178
|
-
createTextVNode(" will be loaded automatically")
|
|
3179
|
-
]),
|
|
3180
|
-
createVNode("li", null, [
|
|
3181
|
-
createVNode("code", null, "components"),
|
|
3182
|
-
createTextVNode(": custom your vue components (will be loaded automatically)")
|
|
3183
|
-
]),
|
|
3184
|
-
createVNode("li", null, [
|
|
3185
|
-
createVNode("code", null, "layouts"),
|
|
3186
|
-
createTextVNode(": custom layouts (use it by "),
|
|
3187
|
-
createVNode("code", null, "layout: xxx"),
|
|
3188
|
-
createTextVNode(" in md)")
|
|
3189
|
-
]),
|
|
3190
|
-
createVNode("li", null, [
|
|
3191
|
-
createVNode("code", null, "locales"),
|
|
3192
|
-
createTextVNode(": custom i18n")
|
|
3193
|
-
])
|
|
3194
|
-
])
|
|
3195
|
-
]),
|
|
3196
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
3197
|
-
createVNode("ul", null, [
|
|
3198
|
-
createVNode("li", null, [
|
|
3199
|
-
createVNode("code", null, "pages"),
|
|
3200
|
-
createTextVNode(": 你的所有页面 "),
|
|
3201
|
-
createVNode("ul", null, [
|
|
3202
|
-
createVNode("li", null, [
|
|
3203
|
-
createVNode("code", null, "posts"),
|
|
3204
|
-
createTextVNode(": 写在 "),
|
|
3205
|
-
createVNode("code", null, "pages/posts"),
|
|
3206
|
-
createTextVNode(" 文件夹下的内容,将被当作博客文章")
|
|
3207
|
-
])
|
|
3208
|
-
])
|
|
3209
|
-
]),
|
|
3210
|
-
createVNode("li", null, [
|
|
3211
|
-
createVNode("code", null, "styles"),
|
|
3212
|
-
createTextVNode(": 覆盖主题样式,文件夹下的这些 scss 文件将会被自动加载 "),
|
|
3213
|
-
createVNode("ul", null, [
|
|
3214
|
-
createVNode("li", null, [
|
|
3215
|
-
createVNode("code", null, "index.scss"),
|
|
3216
|
-
createTextVNode(" / "),
|
|
3217
|
-
createVNode("code", null, "index.css")
|
|
3218
|
-
]),
|
|
3219
|
-
createVNode("li", null, [
|
|
3220
|
-
createVNode("code", null, "css-vars.scss"),
|
|
3221
|
-
createTextVNode(" / "),
|
|
3222
|
-
createVNode("code", null, "css-vars.css")
|
|
3223
|
-
])
|
|
3224
|
-
])
|
|
3225
|
-
]),
|
|
3226
|
-
createVNode("li", null, [
|
|
3227
|
-
createVNode("code", null, "components"),
|
|
3228
|
-
createTextVNode(": 自定义你的组件(将会被自动注册)")
|
|
3229
|
-
]),
|
|
3230
|
-
createVNode("li", null, [
|
|
3231
|
-
createVNode("code", null, "layouts"),
|
|
3232
|
-
createTextVNode(": 自定义布局 (譬如可以通过 "),
|
|
3233
|
-
createVNode("code", null, "layout: xxx"),
|
|
3234
|
-
createTextVNode(" 来使用 "),
|
|
3235
|
-
createVNode("code", null, "layouts/xxx.vue"),
|
|
3236
|
-
createTextVNode(" 布局)")
|
|
3237
|
-
]),
|
|
3238
|
-
createVNode("li", null, [
|
|
3239
|
-
createVNode("code", null, "locales"),
|
|
3240
|
-
createTextVNode(": 自定义国际化关键词")
|
|
3241
|
-
])
|
|
3242
|
-
])
|
|
3243
|
-
]),
|
|
3244
|
-
createVNode("h3", {
|
|
3245
|
-
lang: "en",
|
|
3246
|
-
id: "others",
|
|
3247
|
-
tabindex: "-1"
|
|
3248
|
-
}, [
|
|
3249
|
-
createTextVNode("Others "),
|
|
3250
|
-
createVNode(_component_AppLink, {
|
|
3251
|
-
class: "header-anchor",
|
|
3252
|
-
href: "#others",
|
|
3253
|
-
"aria-label": 'Permalink to "Others {lang="en"}"'
|
|
3254
|
-
}, {
|
|
3255
|
-
default: withCtx(() => [
|
|
3256
|
-
createTextVNode("")
|
|
3257
|
-
]),
|
|
3258
|
-
_: 1
|
|
3259
|
-
/* STABLE */
|
|
3260
|
-
})
|
|
3261
|
-
]),
|
|
3262
|
-
createVNode("h3", {
|
|
3263
|
-
lang: "zh-CN",
|
|
3264
|
-
id: "其他",
|
|
3265
|
-
tabindex: "-1"
|
|
3266
|
-
}, [
|
|
3267
|
-
createTextVNode("其他 "),
|
|
3268
|
-
createVNode(_component_AppLink, {
|
|
3269
|
-
class: "header-anchor",
|
|
3270
|
-
href: "#其他",
|
|
3271
|
-
"aria-label": 'Permalink to "其他 {lang="zh-CN"}"'
|
|
3272
|
-
}, {
|
|
3273
|
-
default: withCtx(() => [
|
|
3274
|
-
createTextVNode("")
|
|
3275
|
-
]),
|
|
3276
|
-
_: 1
|
|
3277
|
-
/* STABLE */
|
|
3278
|
-
})
|
|
3279
|
-
]),
|
|
3280
|
-
createVNode("div", { lang: "en" }, [
|
|
3281
|
-
createVNode("ul", null, [
|
|
3282
|
-
createVNode("li", null, [
|
|
3283
|
-
createVNode("code", null, ".vscode"),
|
|
3284
|
-
createTextVNode(": recommend some useful plugins & settings, you can preview icon/i18n/class...")
|
|
3285
|
-
]),
|
|
3286
|
-
createVNode("li", null, [
|
|
3287
|
-
createVNode("code", null, ".github"),
|
|
3288
|
-
createTextVNode(": GitHub Actions to auto build & deploy to GitHub Pages")
|
|
3289
|
-
]),
|
|
3290
|
-
createVNode("li", null, [
|
|
3291
|
-
createVNode("code", null, "netlify.toml"),
|
|
3292
|
-
createTextVNode(": for "),
|
|
3293
|
-
createVNode(_component_AppLink, {
|
|
3294
|
-
href: "https://www.netlify.com/",
|
|
3295
|
-
target: "_blank",
|
|
3296
|
-
rel: "noreferrer"
|
|
3297
|
-
}, {
|
|
3298
|
-
default: withCtx(() => [
|
|
3299
|
-
createTextVNode("netlify")
|
|
3300
|
-
]),
|
|
3301
|
-
_: 1
|
|
3302
|
-
/* STABLE */
|
|
3303
|
-
})
|
|
3304
|
-
]),
|
|
3305
|
-
createVNode("li", null, [
|
|
3306
|
-
createVNode("code", null, "vercel.json"),
|
|
3307
|
-
createTextVNode(": for "),
|
|
3308
|
-
createVNode(_component_AppLink, {
|
|
3309
|
-
href: "https://vercel.com/",
|
|
3310
|
-
target: "_blank",
|
|
3311
|
-
rel: "noreferrer"
|
|
3312
|
-
}, {
|
|
3313
|
-
default: withCtx(() => [
|
|
3314
|
-
createTextVNode("vercel")
|
|
3315
|
-
]),
|
|
3316
|
-
_: 1
|
|
3317
|
-
/* STABLE */
|
|
3318
|
-
})
|
|
3319
|
-
])
|
|
3320
|
-
])
|
|
3321
|
-
]),
|
|
3322
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
3323
|
-
createVNode("ul", null, [
|
|
3324
|
-
createVNode("li", null, [
|
|
3325
|
-
createVNode("code", null, ".vscode"),
|
|
3326
|
-
createTextVNode(": 推荐安装一些有用的 VSCode 插件,这样你可以直接预览一些图标、国际化、辅助的 CSS Class 等 "),
|
|
3327
|
-
createVNode("ul", null, [
|
|
3328
|
-
createVNode("li", null, [
|
|
3329
|
-
createTextVNode("你可以在 VSCode 插件商店中找到 "),
|
|
3330
|
-
createVNode(_component_AppLink, {
|
|
3331
|
-
href: "https://marketplace.visualstudio.com/items?itemName=yunyoujun.valaxy",
|
|
3332
|
-
target: "_blank",
|
|
3333
|
-
rel: "noreferrer"
|
|
3334
|
-
}, {
|
|
3335
|
-
default: withCtx(() => [
|
|
3336
|
-
createVNode("code", null, "Valaxy"),
|
|
3337
|
-
createTextVNode(" 插件")
|
|
3338
|
-
]),
|
|
3339
|
-
_: 1
|
|
3340
|
-
/* STABLE */
|
|
3341
|
-
}),
|
|
3342
|
-
createTextVNode(",它提供了文章列表预览/切换/删除等功能,让你尽可能地可以在 VSCode 中完成所有操作。")
|
|
3343
|
-
])
|
|
3344
|
-
])
|
|
3345
|
-
]),
|
|
3346
|
-
createVNode("li", null, [
|
|
3347
|
-
createVNode("code", null, ".github"),
|
|
3348
|
-
createTextVNode(": 使用 GitHub Actions 自动构建并部署到 GitHub Pages")
|
|
3349
|
-
]),
|
|
3350
|
-
createVNode("li", null, [
|
|
3351
|
-
createVNode("code", null, "netlify.toml"),
|
|
3352
|
-
createTextVNode(": "),
|
|
3353
|
-
createVNode(_component_AppLink, {
|
|
3354
|
-
href: "https://www.netlify.com/",
|
|
3355
|
-
target: "_blank",
|
|
3356
|
-
rel: "noreferrer"
|
|
3357
|
-
}, {
|
|
3358
|
-
default: withCtx(() => [
|
|
3359
|
-
createTextVNode("Netlify")
|
|
3360
|
-
]),
|
|
3361
|
-
_: 1
|
|
3362
|
-
/* STABLE */
|
|
3363
|
-
}),
|
|
3364
|
-
createTextVNode(" 自动配置")
|
|
3365
|
-
]),
|
|
3366
|
-
createVNode("li", null, [
|
|
3367
|
-
createVNode("code", null, "vercel.json"),
|
|
3368
|
-
createTextVNode(": "),
|
|
3369
|
-
createVNode(_component_AppLink, {
|
|
3370
|
-
href: "https://vercel.com/",
|
|
3371
|
-
target: "_blank",
|
|
3372
|
-
rel: "noreferrer"
|
|
3373
|
-
}, {
|
|
3374
|
-
default: withCtx(() => [
|
|
3375
|
-
createTextVNode("Vercel")
|
|
3376
|
-
]),
|
|
3377
|
-
_: 1
|
|
3378
|
-
/* STABLE */
|
|
3379
|
-
}),
|
|
3380
|
-
createTextVNode(" 重定向配置")
|
|
3381
|
-
])
|
|
3382
|
-
])
|
|
3383
|
-
]),
|
|
3384
|
-
createVNode("h2", {
|
|
3385
|
-
lang: "en",
|
|
3386
|
-
id: "themes",
|
|
3387
|
-
tabindex: "-1"
|
|
3388
|
-
}, [
|
|
3389
|
-
createTextVNode("Themes "),
|
|
3390
|
-
createVNode(_component_AppLink, {
|
|
3391
|
-
class: "header-anchor",
|
|
3392
|
-
href: "#themes",
|
|
3393
|
-
"aria-label": 'Permalink to "Themes {lang="en"}"'
|
|
3394
|
-
}, {
|
|
3395
|
-
default: withCtx(() => [
|
|
3396
|
-
createTextVNode("")
|
|
3397
|
-
]),
|
|
3398
|
-
_: 1
|
|
3399
|
-
/* STABLE */
|
|
3400
|
-
})
|
|
3401
|
-
]),
|
|
3402
|
-
createVNode("h2", {
|
|
3403
|
-
lang: "zh-CN",
|
|
3404
|
-
id: "主题",
|
|
3405
|
-
tabindex: "-1"
|
|
3406
|
-
}, [
|
|
3407
|
-
createTextVNode("主题 "),
|
|
3408
|
-
createVNode(_component_AppLink, {
|
|
3409
|
-
class: "header-anchor",
|
|
3410
|
-
href: "#主题",
|
|
3411
|
-
"aria-label": 'Permalink to "主题 {lang="zh-CN"}"'
|
|
3412
|
-
}, {
|
|
3413
|
-
default: withCtx(() => [
|
|
3414
|
-
createTextVNode("")
|
|
3415
|
-
]),
|
|
3416
|
-
_: 1
|
|
3417
|
-
/* STABLE */
|
|
3418
|
-
})
|
|
3419
|
-
]),
|
|
3420
|
-
createVNode("div", { lang: "en" }, [
|
|
3421
|
-
createVNode("p", null, [
|
|
3422
|
-
createTextVNode("If you want to develop a theme and released, you can refer to "),
|
|
3423
|
-
createVNode(_component_AppLink, {
|
|
3424
|
-
href: "https://github.com/YunYouJun/valaxy-theme-starter",
|
|
3425
|
-
target: "_blank",
|
|
3426
|
-
rel: "noreferrer"
|
|
3427
|
-
}, {
|
|
3428
|
-
default: withCtx(() => [
|
|
3429
|
-
createTextVNode("valaxy-theme-starter")
|
|
3430
|
-
]),
|
|
3431
|
-
_: 1
|
|
3432
|
-
/* STABLE */
|
|
3433
|
-
}),
|
|
3434
|
-
createTextVNode(".")
|
|
3435
|
-
])
|
|
3436
|
-
]),
|
|
3437
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
3438
|
-
createVNode("p", null, [
|
|
3439
|
-
createTextVNode("如果您希望自己开发一个主题并发布,您可以参考 "),
|
|
3440
|
-
createVNode(_component_AppLink, {
|
|
3441
|
-
href: "https://github.com/YunYouJun/valaxy-theme-starter",
|
|
3442
|
-
target: "_blank",
|
|
3443
|
-
rel: "noreferrer"
|
|
3444
|
-
}, {
|
|
3445
|
-
default: withCtx(() => [
|
|
3446
|
-
createTextVNode("valaxy-theme-starter")
|
|
3447
|
-
]),
|
|
3448
|
-
_: 1
|
|
3449
|
-
/* STABLE */
|
|
3450
|
-
}),
|
|
3451
|
-
createTextVNode("。")
|
|
3452
|
-
]),
|
|
3453
|
-
createVNode("p", null, [
|
|
3454
|
-
createTextVNode("更多内容请参见 "),
|
|
3455
|
-
createVNode(_component_AppLink, { href: "/themes/write" }, {
|
|
3456
|
-
default: withCtx(() => [
|
|
3457
|
-
createTextVNode("如何编写一个 Valaxy 主题")
|
|
3458
|
-
]),
|
|
3459
|
-
_: 1
|
|
3460
|
-
/* STABLE */
|
|
3461
|
-
}),
|
|
3462
|
-
createTextVNode("。")
|
|
3463
|
-
])
|
|
3464
|
-
]),
|
|
3465
|
-
createVNode("h2", {
|
|
3466
|
-
lang: "en",
|
|
3467
|
-
id: "community",
|
|
3468
|
-
tabindex: "-1"
|
|
3469
|
-
}, [
|
|
3470
|
-
createTextVNode("Community "),
|
|
3471
|
-
createVNode(_component_AppLink, {
|
|
3472
|
-
class: "header-anchor",
|
|
3473
|
-
href: "#community",
|
|
3474
|
-
"aria-label": 'Permalink to "Community {lang="en"}"'
|
|
3475
|
-
}, {
|
|
3476
|
-
default: withCtx(() => [
|
|
3477
|
-
createTextVNode("")
|
|
3478
|
-
]),
|
|
3479
|
-
_: 1
|
|
3480
|
-
/* STABLE */
|
|
3481
|
-
})
|
|
3482
|
-
]),
|
|
3483
|
-
createVNode("h2", {
|
|
3484
|
-
lang: "zh-CN",
|
|
3485
|
-
id: "社区",
|
|
3486
|
-
tabindex: "-1"
|
|
3487
|
-
}, [
|
|
3488
|
-
createTextVNode("社区 "),
|
|
3489
|
-
createVNode(_component_AppLink, {
|
|
3490
|
-
class: "header-anchor",
|
|
3491
|
-
href: "#社区",
|
|
3492
|
-
"aria-label": 'Permalink to "社区 {lang="zh-CN"}"'
|
|
3493
|
-
}, {
|
|
3494
|
-
default: withCtx(() => [
|
|
3495
|
-
createTextVNode("")
|
|
3496
|
-
]),
|
|
3497
|
-
_: 1
|
|
3498
|
-
/* STABLE */
|
|
3499
|
-
})
|
|
3500
|
-
]),
|
|
3501
|
-
createVNode("div", { lang: "en" }, [
|
|
3502
|
-
createVNode("p", null, [
|
|
3503
|
-
createTextVNode("If you have questions or need help, you can go to the "),
|
|
3504
|
-
createVNode(_component_AppLink, {
|
|
3505
|
-
href: "https://discord.gg/nd3mPkU5j8",
|
|
3506
|
-
target: "_blank",
|
|
3507
|
-
rel: "noreferrer"
|
|
3508
|
-
}, {
|
|
3509
|
-
default: withCtx(() => [
|
|
3510
|
-
createTextVNode("Discord")
|
|
3511
|
-
]),
|
|
3512
|
-
_: 1
|
|
3513
|
-
/* STABLE */
|
|
3514
|
-
}),
|
|
3515
|
-
createTextVNode(" and "),
|
|
3516
|
-
createVNode(_component_AppLink, {
|
|
3517
|
-
href: "https://github.com/YunYouJun/valaxy/discussions",
|
|
3518
|
-
target: "_blank",
|
|
3519
|
-
rel: "noreferrer"
|
|
3520
|
-
}, {
|
|
3521
|
-
default: withCtx(() => [
|
|
3522
|
-
createTextVNode("Discussions")
|
|
3523
|
-
]),
|
|
3524
|
-
_: 1
|
|
3525
|
-
/* STABLE */
|
|
3526
|
-
}),
|
|
3527
|
-
createTextVNode(" to ask for help.")
|
|
3528
|
-
])
|
|
3529
|
-
]),
|
|
3530
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
3531
|
-
createVNode("p", null, [
|
|
3532
|
-
createTextVNode("如果你有疑问或者需要帮助,可以到 "),
|
|
3533
|
-
createVNode(_component_AppLink, {
|
|
3534
|
-
href: "https://discord.gg/nd3mPkU5j8",
|
|
3535
|
-
target: "_blank",
|
|
3536
|
-
rel: "noreferrer"
|
|
3537
|
-
}, {
|
|
3538
|
-
default: withCtx(() => [
|
|
3539
|
-
createTextVNode("Discord")
|
|
3540
|
-
]),
|
|
3541
|
-
_: 1
|
|
3542
|
-
/* STABLE */
|
|
3543
|
-
}),
|
|
3544
|
-
createTextVNode(" 和 "),
|
|
3545
|
-
createVNode(_component_AppLink, {
|
|
3546
|
-
href: "https://github.com/YunYouJun/valaxy/discussions",
|
|
3547
|
-
target: "_blank",
|
|
3548
|
-
rel: "noreferrer"
|
|
3549
|
-
}, {
|
|
3550
|
-
default: withCtx(() => [
|
|
3551
|
-
createTextVNode("GitHub Discussions")
|
|
3552
|
-
]),
|
|
3553
|
-
_: 1
|
|
3554
|
-
/* STABLE */
|
|
3555
|
-
}),
|
|
3556
|
-
createTextVNode(" 社区来寻求帮助。")
|
|
3557
|
-
])
|
|
3558
|
-
])
|
|
3559
|
-
];
|
|
3560
|
-
}
|
|
3561
|
-
}),
|
|
3562
|
-
"main-header": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3563
|
-
if (_push2) {
|
|
3564
|
-
ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
|
|
3565
|
-
} else {
|
|
3566
|
-
return [
|
|
3567
|
-
renderSlot(_ctx.$slots, "main-header")
|
|
3568
|
-
];
|
|
3569
|
-
}
|
|
3570
|
-
}),
|
|
3571
|
-
"main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3572
|
-
if (_push2) {
|
|
3573
|
-
ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
|
|
3574
|
-
} else {
|
|
3575
|
-
return [
|
|
3576
|
-
renderSlot(_ctx.$slots, "main-header-after")
|
|
3577
|
-
];
|
|
3578
|
-
}
|
|
3579
|
-
}),
|
|
3580
|
-
"main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3581
|
-
if (_push2) {
|
|
3582
|
-
ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
|
|
3583
|
-
} else {
|
|
3584
|
-
return [
|
|
3585
|
-
renderSlot(_ctx.$slots, "main-nav")
|
|
3586
|
-
];
|
|
3587
|
-
}
|
|
3588
|
-
}),
|
|
3589
|
-
"main-content": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3590
|
-
if (_push2) {
|
|
3591
|
-
ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
|
|
3592
|
-
} else {
|
|
3593
|
-
return [
|
|
3594
|
-
renderSlot(_ctx.$slots, "main-content")
|
|
3595
|
-
];
|
|
3596
|
-
}
|
|
3597
|
-
}),
|
|
3598
|
-
"main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3599
|
-
if (_push2) {
|
|
3600
|
-
ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
|
|
3601
|
-
} else {
|
|
3602
|
-
return [
|
|
3603
|
-
renderSlot(_ctx.$slots, "main-content-after")
|
|
3604
|
-
];
|
|
3605
|
-
}
|
|
3606
|
-
}),
|
|
3607
|
-
"main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3608
|
-
if (_push2) {
|
|
3609
|
-
ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
|
|
3610
|
-
} else {
|
|
3611
|
-
return [
|
|
3612
|
-
renderSlot(_ctx.$slots, "main-nav-before")
|
|
3613
|
-
];
|
|
3614
|
-
}
|
|
3615
|
-
}),
|
|
3616
|
-
"main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3617
|
-
if (_push2) {
|
|
3618
|
-
ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
|
|
3619
|
-
} else {
|
|
3620
|
-
return [
|
|
3621
|
-
renderSlot(_ctx.$slots, "main-nav-after")
|
|
3622
|
-
];
|
|
3623
|
-
}
|
|
3624
|
-
}),
|
|
3625
|
-
comment: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3626
|
-
if (_push2) {
|
|
3627
|
-
ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
|
|
3628
|
-
} else {
|
|
3629
|
-
return [
|
|
3630
|
-
renderSlot(_ctx.$slots, "comment")
|
|
3631
|
-
];
|
|
3632
|
-
}
|
|
3633
|
-
}),
|
|
3634
|
-
footer: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3635
|
-
if (_push2) {
|
|
3636
|
-
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
3637
|
-
} else {
|
|
3638
|
-
return [
|
|
3639
|
-
renderSlot(_ctx.$slots, "footer")
|
|
3640
|
-
];
|
|
3641
|
-
}
|
|
3642
|
-
}),
|
|
3643
|
-
aside: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3644
|
-
if (_push2) {
|
|
3645
|
-
ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
|
|
3646
|
-
} else {
|
|
3647
|
-
return [
|
|
3648
|
-
renderSlot(_ctx.$slots, "aside")
|
|
3649
|
-
];
|
|
3650
|
-
}
|
|
3651
|
-
}),
|
|
3652
|
-
"aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3653
|
-
if (_push2) {
|
|
3654
|
-
ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
|
|
3655
|
-
} else {
|
|
3656
|
-
return [
|
|
3657
|
-
renderSlot(_ctx.$slots, "aside-custom")
|
|
3658
|
-
];
|
|
3659
|
-
}
|
|
3660
|
-
}),
|
|
3661
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
3662
|
-
if (_push2) {
|
|
3663
|
-
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
3664
|
-
} else {
|
|
3665
|
-
return [
|
|
3666
|
-
renderSlot(_ctx.$slots, "default")
|
|
3667
|
-
];
|
|
3668
|
-
}
|
|
3669
|
-
}),
|
|
3670
|
-
_: 3
|
|
3671
|
-
/* FORWARDED */
|
|
3672
|
-
}, _parent));
|
|
3673
|
-
}
|
|
3674
|
-
const _sfc_setup = _sfc_main.setup;
|
|
3675
|
-
_sfc_main.setup = (props, ctx) => {
|
|
3676
|
-
const ssrContext = useSSRContext();
|
|
3677
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/getting-started.md");
|
|
3678
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
3679
|
-
};
|
|
3680
|
-
const gettingStarted = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
3681
|
-
export {
|
|
3682
|
-
__pageData,
|
|
3683
|
-
gettingStarted as default
|
|
3684
|
-
};
|