Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support extra classes at page level (close: #84) #85

Merged
merged 6 commits into from
Apr 16, 2018
Merged

Support extra classes at page level (close: #84) #85

merged 6 commits into from
Apr 16, 2018

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Apr 16, 2018

No description provided.

@ulivz
Copy link
Member Author

ulivz commented Apr 16, 2018

Not know whether it's making sense yet, if not just close it and will not need to add docs for that, Yup

},
extraClasses() {
const { frontmatter } = this.$page || {}
const customClass = frontmatter.class
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe pageClass is more explicit

@yyx990803
Copy link
Member

I think this is a decent addition, we need to document this though.

@ulivz
Copy link
Member Author

ulivz commented Apr 16, 2018

Addressed comment and add docs as well.

@yyx990803 yyx990803 merged commit 40ca73c into vuejs:master Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants