Skip to content

2823602869/xm-nuxtjs-wordpress

 
 

Repository files navigation

xm-nuxt-wordpress

使用Nuxtjs + Wordpress Rest Api实现前后端分离,服务端渲染页面

service目录为wordpress主题文件,需要拷贝到wordpress主题目录下,wp-content/themes

使用的时候请修改nuxt.config.js的配置项,改为自己的信息,修改注释的地方即可

修改assets/scss/variable.scss文件下的$color-theme变量,可以更换博客的主体风格

原创不易,希望能够保留右下角的主题作者,谢谢

主题设置截图

Build Setup

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

About

🎉🎉🎉使用nuxt.js+wordpress rest api搭建的博客,具体使用说明查看

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 41.0%
  • Vue 38.8%
  • CSS 12.7%
  • JavaScript 7.5%