增加回到顶部
This commit is contained in:
parent
202bf1b84e
commit
443e4ce90f
@ -26,6 +26,7 @@
|
||||
</Sidebar>
|
||||
<slot></slot>
|
||||
<Valine :isComment="isComment"></Valine>
|
||||
<BackToTop></BackToTop>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -36,9 +37,10 @@ import Sidebar from '@theme/components/Sidebar.vue'
|
||||
import { resolveSidebarItems } from '../util'
|
||||
import Password from '@theme/components/Password'
|
||||
import Valine from '@theme/components/Valine/'
|
||||
import BackToTop from "@theme/components/BackToTop"
|
||||
|
||||
export default {
|
||||
components: { Sidebar, Navbar, Password, Valine },
|
||||
components: { Sidebar, Navbar, Password, Valine, BackToTop },
|
||||
|
||||
props: ['sidebar', 'isComment'],
|
||||
|
||||
|
@ -36,7 +36,7 @@ import Background from '@theme/components/Background'
|
||||
|
||||
export default {
|
||||
components: {Background},
|
||||
name: 'BackToTop',
|
||||
name: 'Password',
|
||||
data() {
|
||||
return {
|
||||
warningText: 'Konck! Knock!',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress-theme-reco",
|
||||
"version": "1.0.0-alpha.9",
|
||||
"version": "1.0.0-alpha.10",
|
||||
"description": "this is a vuepress theme",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user