Theming template repo #2561
anatolinicolae
started this conversation in
General
Replies: 1 comment
-
https://github.com/vuejs/theme , https://www.npmjs.com/search?q=vitepress%20theme |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've gone through the docs section about Distributing a Custom Theme as an npm package, but I feel like instructions are pretty generic.
What I'm virtually looking for is an npm distributed theme that's self-sufficient and requires little config on user side. Currently I can surely copy over overrides and component definitions to another project, but it should be reusable in multiple projects with minimal code duplication. So distributing a base custom theme that requires you to only change site name and description would be the best thing to implement this "common core".
Is there any way to work out a template repo that provides a skeleton structure for theming VitePress and distributing it as an npm package? Or is there an example of how to do exactly this?
Beta Was this translation helpful? Give feedback.
All reactions