Skip to content

如何使用 Layout 佈局中的插槽? #4459

Closed Answered by Mister-Hope
EvanHsieh0415 asked this question in Q&A
Discussion options

You must be logged in to vote

The NormalPage is a component which you should override with alias, it's not a layout. Overriding components give you ability to apply things to whole site.

If you only want to insert contents in certain pages with a new layout, extends the "Layout.js" and insert with tocBefore slot.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EvanHsieh0415
Comment options

@Mister-Hope
Comment options

@EvanHsieh0415
Comment options

@Mister-Hope
Comment options

Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants