-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Blog Support roadmap (Resolved) #36
Comments
I think you should add also the functionality to publish only posts with dates that has already came like gatsby and jekyll. If you need help I would absolutely love to work on these tasks with you |
|
The ability to alias posts and create redirects for them to allow movement of old posts while preserving all incoming links. |
Maybe list all post in some sort of filter (customizable, of course), tags or categories and show them in README.md at first (chronologically or by tags). |
vuepress eject with default config |
I have been reading VuePress code and comparing with the blog build system I have written for Gulp. List of features I have for my gulp static blog:
These are all the features I've built for gulp static site building, and would like VuePress to have. However, adding all of that to the "core" would not be very great. I think a better, smarter solution would be to think of a way to allow themes to modify/plug into I'm happy to help building and designing Blog theme, but I'd like to work out this build stage plugins before, instead of forking and modifying "core". |
Looks like it is reasonably easy to get lists of posts and filter tags/categories working even without support in the Layouts. Inside any
The only missing part is being able to generate dynamic pages, but I think this can be solved generically along with creating a sitemap, rss feed, specific tag/category pages, redirect links by allowing the theme or pages to add extra routes with plain text content or layouts with data. With something like |
Quite right. Generic features/building blogs needed:
With these building blogs, entire blogging system can be made 🎉 |
@lekevicius I think those are the core features that are missing from vuepress, once those are added I believe that the rest of the features listed in this thread can be accomplished through the default or may be an alternitive them. It might be worth rasing them as seperate issues if the others agree? |
A draft outosave system. |
What about comments? A default theme should perhaps offer a commenting component that integrates one of the popular commenting platforms. |
So - the default theme is going to be focused on documentation sites. Proper blog support should be done in a separate theme - and we currently don't have the bandwidth to work on that, so the goal in VuePress core should be designing the minimum API that can enable a custom theme to provide full blogging support. I'd encourage the community to explore that and provide feedback on what is currently lacking (e.g. this comment) and what kind of APIs would make that possible. For registering additional routes, currently // theme/index.js
export default ({ Vue, router, options }) => {
router.addRoutes([
{
path: '/archive',
component: () => import('./Archive.vue')
}
])
} |
@yyx990803 That would be great to solve route adding. Would this also allow route rewriting, that is, transforming Lastly, for making content available, it's related to this line when siteData is being built. What would be an elegant solution to enable content in siteData, for feed? |
running |
Also linking this here (RSS support was already mentioned above) to keep sitemaps in mind. Other things that my current Metalsmith blog supports and we could implement very easily (sorta nice-to-have features, but at the same time standards nowadays, I suppose):
Maybe also think about nesting themes? So if |
A little bit irrelevant but I have written some really hacky code to make the current VuePress looks a little bit more like a blog with the following config. https://github.com/ycmjason/ycmjason.com/blob/master/.vuepress/config.js It will automatically generated a side bar with "YYYY MMM" format and then the title of the article would have the date prepended. So I could now easily add a new article without worrying about adding them to side bar. See the blog live here: |
Support for comments using disqus or the like would be welcome as well. |
@rogersachan planning to do that for my site. And also planning to add tags support. |
Thanks for this discussion, I just migrated my blog from hexo, check Deadalusmask/Arthas.me if it helps. 😁 And also hope for news about disqus support. |
Documentation versus Blog FeaturesI've been looking at the VuePress issues and progress and the push to milestone. I totally get drawing a line between "core documentation use case" versus "blog use case". But I think that too can be a form of trap where features that are useful "core features" or "documentation features" get split off into an either/or system. For my company's software documentation, I'm thinking on using VuePress, and so we could definitely use some of these features that some would consider more "bloggy".
|
@eyleron once the plugin system gets released then things should be more composable. Ideally, it would be nice to keep the core features light and implement most optional features in plugins or separate themes rather than bloating down the core with every possible feature people could want. Even common things like tags and categories can be harder to make generic across a blog and docs and I think it would be better first designing these features in plugins and themes where there is more freedom to try things out and experiment before setting on a design for things if one can be found. I know I for one have found the tagging system of some static site generators to be limiting for what I wanted to do at times. |
@luisDanielRoviraContreras |
A few days ago I made a little npm cli called vuepress-new-page so that I can easily create new pages/posts, and just now I found out that it was one of the must have items on the MVP list:
Is that what you had in mind? |
@ulivz Why doesn't blog plugin use Layout.vue as Default when path match |
I can highly recommend Git2Go for iOS - when paired with circleci you can publish new articles from your phone to github pages! I love it Details: https://github.com/DTrejo/dtrejo.github.io |
I made a few plugins that cover some of the must have items discussed here:
All plugins have default options that can get you started quickly. Hope you find them useful. |
I created a Vuepress reading time plugin to display how long a page takes to read
|
@webmasterish @darrenjennings Consider adding your awesome plugins to Awesome Vuepress? |
Hi! |
@tolyanor it looks like they'll be working on finishing the blog configuration sometime in March. The project roadmap has some general info on timelines: |
Hi there, I've read through the rfc for the blog plugin/theme. Are there any updates on how far along this has come? I recently finished implementing a static blog site generated from .md files using nuxt, frontmatter-markdown-loader and highlight.js for code highlighting. It's not the best experience setting it all up and it's not working exactly how I would like it to. Anyone have any info on the actual progress and how far along this is? |
@ulivz Just checking if there's any update on the timeline for the official blog support. Really appreciate all the work you are doing with this project! |
vuepress is great. I thought to build a blog with blog plugin, but it seems to have been deleted from 1.x version today, do not update in the future? |
Hey, all, sorry for the delay to notify all of yours about the latest progress and 3 good messages —— For now on, writing a blog or blog theme with VuePress will be quite easy than you think. New Blog Plugin: https://github.com/ulivz/vuepress-plugin-blog
Default Blog Theme: https://github.com/ulivz/vuepress-theme-blog
A VuePress Blog Theme implemented in around 70 lines: https://github.com/ulivz/70-lines-of-vuepress-blog-theme
The core is stable enough, but we need quick iteration for blog plugin and theme, so it's not very necessary to manage them under one repo. In addition, we want the core repo focus more on |
So it's time to close this issue, please head correct repo to ask question, submit issue, feature request or pull request (Welcome!) Thanks for all of yours‘ continued support for VuePress, there's still a long way to go, and VuePress can be better. Let's go together! |
Hello,
I'm excited to use vuepress for my personal website but I kinda want blog support before I switch, so I was thinking I'd kickstart that discussion on that now. This issue is to seek input as to what blog support might look like.
I was thinking a minimum viable product might be
vuepress new [layout] <post title>
The text was updated successfully, but these errors were encountered: