expresspress:演示如何使用来自 WordPress 的内容编写 Express 网站-源码

上传者: 42139429 | 上传时间: 2021-06-05 17:03:34 | 文件大小: 197KB | 文件类型: ZIP
快报 该项目演示了如何使用为使用 (一种服务器端 JavaScript 运行时)编写的应用程序提供内容。 WordPress 是一个成熟而强大的内容管理系统,与 Node.js 中的许多本机可用选项相比,它具有更长的历史和更好的非开发人员可用性。 借助(目标是在 2015 年的某个时候与 WordPress 核心集成),您可以从任何 Node 应用程序利用 WordPress 出色的内容编辑界面和数据存储。 ExpressPress 本身是一个轻量级的博客查看器,它将为您启用 WP-API 的 WordPress 站点提供内容。 它使用 NPM 模块来查询 WP-API 端点下的资源。 安装 要在本地运行 ExpressPress(我们建议这样做,因为这首先是一个学习资源),请按照以下步骤操作。 克隆这个仓库 安装 (在 OSX 上,我们建议通过安装 Node) 在克隆的存储库目录中

文件下载

资源详情

[{"title":"( 56 个子文件 197KB ) expresspress:演示如何使用来自 WordPress 的内容编写 Express 网站-源码","children":[{"title":"expresspress-master","children":[{"title":".jshintrc <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":".jscsrc <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"middleware","children":[{"title":"site-info.js <span style='color:#111;'> 577B </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"www <span style='color:#111;'> 265B </span>","children":null,"spread":false}],"spread":true},{"title":"services","children":[{"title":"content-cache.js <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"wp.js <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"config.js <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"content-service.js <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"page-title.js <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":"page-numbers.js <span style='color:#111;'> 822B </span>","children":null,"spread":false}],"spread":true},{"title":"Gruntfile.js <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"fonts","children":[{"title":"glyphicons-halflings-regular.ttf <span style='color:#111;'> 40.31KB </span>","children":null,"spread":false},{"title":"glyphicons-halflings-regular.woff <span style='color:#111;'> 22.77KB </span>","children":null,"spread":false},{"title":"glyphicons-halflings-regular.svg <span style='color:#111;'> 61.45KB </span>","children":null,"spread":false},{"title":"glyphicons-halflings-regular.eot <span style='color:#111;'> 19.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"dark-sharp-edges.png <span style='color:#111;'> 32.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"sidebar.js <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"jquery.min.js <span style='color:#111;'> 82.27KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"css","children":[{"title":"lib","children":[{"title":"bootstrap.css <span style='color:#111;'> 81.44KB </span>","children":null,"spread":false},{"title":"bootstrap-theme.min.css <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 67.34KB </span>","children":null,"spread":false},{"title":"bootstrap-theme.css <span style='color:#111;'> 17.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"stylus","children":[{"title":"mixins.styl <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"style.styl <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"favicon.ico <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"archive-category.tmpl <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"index.tmpl <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"error.tmpl <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"layouts","children":[{"title":"main.tmpl <span style='color:#111;'> 472B </span>","children":null,"spread":false}],"spread":false},{"title":"filters","children":[{"title":"get-month.js <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"every.js <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"remove-empty-taxonomies.js <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"get-year.js <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"format-date.js <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"sort-by.js <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"stringify.js <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"get-image.js <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"archive-tag.tmpl <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"partials","children":[{"title":"pagination.tmpl <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"page-banner.tmpl <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"footer.tmpl <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"sidebar.tmpl <span style='color:#111;'> 842B </span>","children":null,"spread":false},{"title":"global-header.tmpl <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false},{"title":"single.tmpl <span style='color:#111;'> 767B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"nodemon.json <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"routes","children":[{"title":"tag.js <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"users.js <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"category.js <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"public-router.js <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"single.js <span style='color:#111;'> 864B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明