{"id":14964269,"url":"https://github.com/d-xuanmo/nuxtjs-wordpress","last_synced_at":"2025-04-06T15:13:26.407Z","repository":{"id":38426765,"uuid":"138392029","full_name":"D-xuanmo/Nuxtjs-Wordpress","owner":"D-xuanmo","description":"🎉 Nuxtjs + Wordpress REST API 主题；支持企业微信通知功能；全站前后端分离，自适应，白日、黑夜两种主题切换","archived":false,"fork":false,"pushed_at":"2023-11-19T07:15:07.000Z","size":3875,"stargazers_count":258,"open_issues_count":1,"forks_count":70,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T15:13:20.092Z","etag":null,"topics":["cms","nuxt-wordpress","nuxtjs","vuejs","wordpress","wordpress-theme"],"latest_commit_sha":null,"homepage":"https://www.xuanmo.xin/details/2987","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/D-xuanmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-23T10:25:09.000Z","updated_at":"2025-01-07T09:25:21.000Z","dependencies_parsed_at":"2023-11-19T08:23:01.536Z","dependency_job_id":"452b90d5-39bc-46fc-bc5c-6024b9cdbb82","html_url":"https://github.com/D-xuanmo/Nuxtjs-Wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-xuanmo%2FNuxtjs-Wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-xuanmo%2FNuxtjs-Wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-xuanmo%2FNuxtjs-Wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-xuanmo%2FNuxtjs-Wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D-xuanmo","download_url":"https://codeload.github.com/D-xuanmo/Nuxtjs-Wordpress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500469,"owners_count":20948880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","nuxt-wordpress","nuxtjs","vuejs","wordpress","wordpress-theme"],"created_at":"2024-09-24T13:32:54.281Z","updated_at":"2025-04-06T15:13:26.387Z","avatar_url":"https://github.com/D-xuanmo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt.js + WordPress\n\n- 一款基于 WordPress + [Nuxtjs](https://nuxtjs.org) 开发的前后端分离主题\n\u003cp\u003e\n\u003ca href=\"https://github.com/D-xuanmo/Nuxtjs-Wordpress\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/WordPress-V5.0+-0099CC.svg?logo=wordpress\" alt=\"WordPress-Version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/D-xuanmo/Nuxtjs-Wordpress\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PHP-V7.0+-666699.svg?logo=php\" alt=\"PHP-Version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://gitee.com/D-xuanmo/xm-nuxtjs-wordpress\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Gitee-码云-CC3333.svg?logo=gitee\" alt=\"Gitee\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n## 使用说明\n\n- 主题详细部署说明：[https://www.xuanmo.xin/details/2987](https://www.xuanmo.xin/details/2987)\n- `service` 目录为 wordpress 主题文件，需要拷贝到 wordpress 主题目录下，`wp-content/themes`\n- 使用的时候请修改 `nuxt.config.js` 的配置项，改为自己的信息，修改注释的地方即可\n- 修改 `assets/scss/variable.scss` 文件下的 `$color-theme` 变量，可以更换博客的主体风格\n- 原创不易，希望能够保留右下角的主题作者\n- 微信小程序版：[https://github.com/xuanmos/blog-miniprogram-wordpress](https://github.com/xuanmos/blog-miniprogram-wordpress)\n\n## 主题特色\n\n- [x] 主题支持自动切换白天、黑夜模式\n- [x] 支持企业微信评论通知\n- [x] 全站无刷新加载\n- [x] 文章点赞、打赏功能\n- [x] 评论点赞、无刷新提交、丰富的表情包\n- [x] 自动百度链接提交\n\n## 微信小程序版\n\n![](https://upyun.xuanmo.xin/3490/20200622175708.jpg)\n\n## 主题设置截图\n\n![](https://upyun.xuanmo.xin/blog/xm-nuxt-wordpress-1.png)\n\n![](https://upyun.xuanmo.xin/blog/xm-nuxt-wordpress-2.png)\n\n![](https://upyun.xuanmo.xin/blog/xm-nuxt-wordpress-3.png)\n\n## 本地启动\n\n```bash\n# install dependencies\n$ yarn\n\n# serve with hot reload at localhost:3000\n$ yarn dev\n\n# build for production and launch server\n$ yarn build\n$ yarn start\n\n# generate static project\n$ yarn generate\n```\n\n## 使用主题的站点\n\n\u003e 欢迎已经使用本主题的朋友提 pr\n\n- [花开陌上](https://moshanghua.net)\n- [黄良钵博客](https://huangliangbo.com)\n- [Sufen Blog](https://blog.cm320.com)\n- [Caid Blog](https://caidhome.cn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-xuanmo%2Fnuxtjs-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-xuanmo%2Fnuxtjs-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-xuanmo%2Fnuxtjs-wordpress/lists"}