4 ms·
I've been using VitePress for a while now. I'm building everything on https://containersonaws.com/pattern/ https://containersonaws.com/pattern/ via VitePress an
by NathanKP 3y ago
I've been using VitePress for a while now. I'm building everything on https://containersonaws.com/pattern/ https://containersonaws.com/pattern/ via VitePress and an entirely custom theme. It feels great to be able to design the website using proper Vue components, compared to the quasi-template language of something like Hugo. And the page load and navigation performance has been quite nice in my opinion.
The only downside that I will mention is that builds are quite slow. I'm not sure how this will scale out as I get more pages. My Hugo website can build 100's of pages in under a second, while VitePress is taking 30-40 seconds to build around 100 pages.
- minimaxir 3y agoHugo's builds are fast because it caches: does VitePress cache?
- NathanKP 3y agoThere is that, but even without cache the Go code for Hugo is blazing fast compared with the the JS bundler for VitePress, sadly
- Menu_Overview 3y agoVite Pres has client-side routing, right? Like, it works without JS, but if JS is enabled, it runs as a SPA.
- piterrro 3y agoPersonally, I don't care about the build times as they happen in a GH workflow [1] and the compiled sources get updated to Cloudflare Pages that's how [2] gets deployed. [1] https://github.com/logdyhq/homepage/blob/main/.github/workflows/publish.yml https://github.com/logdyhq/homepage/blob/main/.github/workfl... [2] https://logdy.dev https://logdy.dev
- pwenzel 3y agoHow does VitePress compare to Jekyll in terms of developer-friendliness and page build times? I still use Jekyll for small projects because it is well-documented and just works.
- NathanKP 3y agoI have not used Jekyll, but I think it's important to note that VitePress is Vue specific. It's designed to be used with Vue components, and it's designed to produce a single page app where navigation happens client side (though there is still a statically rendered version of each page, so it works without JS). Most other static site renderers do exclusively static rendering, without the automatic progressive enhancement to SPA. And VitePress has such intelligent client side enhancement that it even does things like preload pages in the background as soon as the link appears on screen. It adds up to a very fast and light feeling experience.