wordpress开源主题分享之:Nuxt.js + WordPress REST API 主题
主题简介
Nuxt.js + WordPress
主题特色
- 使用Nuxtjs + WordPress Rest Api 实现前后端分离,可完成多端部署;
- 主题支持自动切换黑夜模式。
使用说明
service
目录为wordpress主题文件,需要拷贝到wordpress主题目录下,wp-content/themes
使用的时候请修改
nuxt.config.js
的配置项,改为自己的信息,修改注释的地方即可
修改
assets/scss/variable.scss
文件下的$color-theme
变量,可以更换博客的主体风格
原创不易,希望能够保留右下角的主题作者,谢谢
微信小程序版:https://github.com/xuanmos/blog-miniprogram-wordpress
微信小程序版
主题设置截图
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
下载地址
https://github.com/D-xuanmo/xm-nuxtjs-wordpress
作者博客
版权声明:
作者:小何
链接:https://ligo100.cn/qianduanjishu/ui/200.html
来源:小何博客
文章版权归作者所有,未经允许请勿转载。

共有 0 条评论