-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore(deps): website: upgrade vuepress 0.x to 1.x #2828
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,11 +192,11 @@ | |
$MQMobile = 719px | ||
$MQMobileNarrow = 419px | ||
|
||
@import '~@temp/override.styl' // generated from user config | ||
|
||
$homeWidth = 960px | ||
$buttonColor = #34be68 | ||
$darkBackground = rgb(250, 250, 250) | ||
.container | ||
padding-top 3.6rem | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
.home | ||
padding 0 2rem | ||
max-width $homeWidth | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// introduce custom home with navbar | ||
// https://stackoverflow.com/a/60220684 | ||
// https://vuepress.vuejs.org/theme/inheritance.html#usage | ||
module.exports = { | ||
extend: '@vuepress/theme-default' | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Before setting this, CustomHome doesn't show navbar. So add this setting and mv |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
layout: HomeCustom | ||
home: true | ||
pageClass: home-custom | ||
heroImage: /hero.png | ||
heroText: Atlantis | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://v1.vuepress.vuejs.org/miscellaneous/migration-guide.html#ga