-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
type: enhancementRequest to enhance an existing featureRequest to enhance an existing feature
Description
Bug report
Version
1.x-alpha
Steps to reproduce
What is expected?
Custom Layout for Specific Pages
By default the content of each *.md file is rendered in a
container, along with the sidebar, auto-generated edit links and prev/next links. If you wish to use a completely custom component in place of the page (while only keeping the navbar), you can again specify the component to use using YAML front matter:
layout: SpecialLayout
This will render .vuepress/components/SpecialLayout.vue for the given page.
Follow the official tutorial to use a custom layout in the md file
What is actually happening?
1.x version self layout no use,but the 0.x normal
Other relevant information
- Your OS: windows
- Node.js version: v10.15.1
- Browser version: chrome72
- Is this a global or local install? local install
- Which package manager did you use for the install?yarn
Metadata
Metadata
Assignees
Labels
type: enhancementRequest to enhance an existing featureRequest to enhance an existing feature