Xm Nuxtjs Wordpress

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.

New
(125)
โ€ข Released: May 06, 2020, 07:51 AM

Xm Nuxtjs Wordpress

Author: xuanmos
Item was Featured Author was Featured Bought between 100 and 500 items Referred more than 1000 members Author had a Free File of the Month Contributed a Blog Post Helped protect FrontendFun against copyright violations Reviewer FrontendFun Developer Site Administrator Moderator Blog Editor
FREE
๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰Nuxt.js+Wordpress Rest Api size
git clone https://github.com/xuanmos/xm-nuxtjs-wordpress.git