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

I have modified the Home.vue, but find the vuepress-theme-reco take no effect #388

Closed
zwf193071 opened this issue Dec 16, 2021 · 2 comments

Comments

@zwf193071
Copy link

zwf193071 commented Dec 16, 2021

I have modified the Home.vue, like the picture below:
image
but find the vuepress-theme-reco take no effect

I have also modified the index.js also, like the code below:
module.exports = { extend: 'vuepress-theme-reco' }
but it gets worse.

Is there any way to rewrite the Home.vue but also keep the vuepress-theme-reco theme?

@zwf193071
Copy link
Author

module.exports = { extend: '@vuepress/theme-default', plugins: [ require('vuepress-theme-reco'), ] }

I have tried the code above, but still not working

@recoluan
Copy link
Member

自定义首页可以参考这里:https://vuepress-theme-reco.recoluan.com/views/1.x/home.html

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

No branches or pull requests

2 participants