Skip to content

Commit b79d0c4

Browse files
committed
chore: tweaks
1 parent 2014062 commit b79d0c4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Diff for: CHANGELOG.md

-18
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,6 @@
2222
### Features
2323

2424
* **$core:** support global layout (close: [#1226](https://github.com/vuejs/vuepress/issues/1226)) ([c91f55a](https://github.com/vuejs/vuepress/commit/c91f55a))
25-
26-
From now on, users have the ability to use a custom global layout component via [siteConfig](https://v1.vuepress.vuejs.org/miscellaneous/glossary.html#siteconfig) or [themeEntryFile](https://v1.vuepress.vuejs.org/miscellaneous/glossary.html#themeentryfile):
27-
28-
```js
29-
module.exports = {
30-
globalLayout: '/path/to/your/global/vue/sfc'
31-
}
32-
```
33-
34-
Here is the [content of default global layout component](https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/core/lib/app/components/GlobalLayout.vue),
35-
Also, you can follow the convention, directly create a component `.vuepress/components/GlobalLayout.vue` or `themePath/layouts/GlobalLayout.vue` without any config. the loading priority is as follows:
36-
37-
- siteConfig
38-
- siteAgreement
39-
- themeEntry
40-
- themeAgreement
41-
- default
42-
4325
* **$theme-default:** disable search box via frontmatter (close: [#1287](https://github.com/vuejs/vuepress/issues/1287)) ([#1288](https://github.com/vuejs/vuepress/issues/1288)) ([54e9eb0](https://github.com/vuejs/vuepress/commit/54e9eb0))
4426

4527

0 commit comments

Comments
 (0)