使用Next.js部署WordPress

Terwer...小于 1 分钟过程改进知识管理开发流程wordpress

WordPress只一个历史悠久用户友好的博客,并且还挺云端免费版本。但是访问速度比较慢,还好有了vercel,用CDN加速,就非常好了。说干就干。

创建项目

yarn create next-app --example cms-wordpress cms-wordpress-app

结果如下

Initialized a git repository.

Success! Created cms-wordpress-app at /Users/terwer/Documents/app/Docker/terwer/cms-wordpress-app
Inside that directory, you can run several commands:

  yarn dev
    Starts the development server.

  yarn build
    Builds the app for production.

  yarn start
    Runs the built app in production mode.

We suggest that you begin by typing:

  cd cms-wordpress-app
  yarn dev

✨  Done in 45.53s.

参考

https://github.com/vercel/next.js/tree/canary/examples/cms-wordpressopen in new window

评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.14.9