/xm-nuxtjs-wordpress

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

Primary LanguageVue

xm-nuxt-wordpress

使用nuxtjs + wordpress rest api实现前后端分离,服务端渲染页面

service目录为wordpress主题文件

使用的时候请修改nuxt.config.js的配置项,改为自己的信息

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.