mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
Update docs
This commit is contained in:
parent
eae3ad885f
commit
421ef1d442
@ -634,7 +634,7 @@ window.$docsify = {
|
||||
|
||||
- type: `Object`
|
||||
|
||||
Registers Vue components using the component name as the key with an object containing Vue options as the value.
|
||||
Registers Vue components using the component name as the key with an object containing Vue options as the value. Component data is not shared and changes will not persist as users navigate the site.
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
@ -701,7 +701,7 @@ window.$docsify = {
|
||||
|
||||
- type: `Object`
|
||||
|
||||
Specifies Vue mount elements and their associated options. Mount elements are specified using a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) as the key with an object containing Vue options as their value.
|
||||
Specifies Vue mount elements and their associated options. Mount elements are specified using a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) as the key with an object containing Vue options as their value. Docsify will mount the first matching element in the main content area (`#main, .markdown-section`) each time a new page is loaded.
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
|
||||
@ -265,7 +265,7 @@ window.$docsify = {
|
||||
|
||||
## Components
|
||||
|
||||
Use `vueComponents` to register Vue components using the component name as the key with an object containing Vue options as the value. Components data is not shared and changes will not persist as users navigate the site.
|
||||
Use `vueComponents` to register Vue components using the component name as the key with an object containing Vue options as the value. Component data is not shared and changes will not persist as users navigate the site.
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user