Categories
Static Site Generators

VuePress

I gave VuePress the 101 Hello World run through.

Dev experience was fine, and running vuepress dev was nice enough, however seems like it doesn’t actually generate static sites. The build command creates an index.html, but it still references webpack powered JS files to actually setup the styles and templates. You can’t just dump that output on a static host like S3 or Github pages.

Others reported the same issue on Github and the answer seemed to be to install some lightweight node http server, but that’s not a solution. I can’t run a server on S3 or Cloudfront?

Surely the point is that you end up with simple fucking HTML files, and not needing to run node on a server?!

And even if I wanted to piggy back on an existing server, that node process couldn’t listen to port 443 if it’s already in use by Nginx or whatever. So what, I need to provision a whole new real server?

And (2) even if I did that the code sent to the browser still includes a lot of JS it has to parse, so much of the perf benefit is lost.

No thank you VuePress, I do not think we’ll be doing business together!