3

用nextJs重构博客

 3 years ago
source link: https://yazhen.me/_posts/2020/%E7%94%A8nextJs%E9%87%8D%E6%9E%84%E5%8D%9A%E5%AE%A2/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

用nextJs重构博客

By王亚振

发布于: 2020年09月20日 

这个博客 经历了 三个技术框架

  • hexo 以前
  • gatsby 当前
  • nextJs 正开发

简单说下三中框架不同

项目官方地址

快速、简洁且高效的博客框架

是一个本地编写 MD 文件,然后执行命令由 NodeJs 渲染生成 Html 页面。 有324个现有主题,另外还支持各种插件和扩展。

部署方便,可以部署到 GitHub Pages, Heroku 或其他平台。

Gatsby

官网

和 Hexo 类似 都是从本地编写的 MD 文件,生成页面。 不同的是 Gatsby 是用 React 自己实现模版,生成页面,高度可定制化。

另外还支持 GraphQL 语法,由插件转换查询本地文件数据。

NextJs

项目官网

Next.js 是一个轻量级的 React 服务端渲染应用框架。

用 Next.js 来创造有才华的创意的项目吧。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK