Skip to content

Commit 2856ed6

Browse files
committed
docs: how to override root app.vue
1 parent 9a54a2c commit 2856ed6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/pages/themes/write.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,18 @@ onMounted(() => {
257257
</template>
258258
```
259259

260+
::: tip
261+
262+
::: zh-CN
263+
- 你可以通过 `ValaxyApp.vue` 组件完全覆盖根组件,来达成你更深层次的定制化需求。(完全由你自定义,不再默认挂在 `router-view` 等默认处理。)
264+
:::
265+
266+
::: en
267+
- You can completely override the root component through the `ValaxyApp.vue` component to achieve deeper customization needs. (Completely customized by you, no longer default handling such as mounting `router-view`, etc.)
268+
:::
269+
270+
:::
271+
260272
### ValaxyMain
261273

262274
你需要自定义一个 `ValaxyMain` 组件来决定主题的文章渲染部分。

0 commit comments

Comments
 (0)