ember-cli-wordpress:Ember.js 前端,Wordpress API 后端

时间:2021-06-24 07:48:42
【文件属性】:
文件名称:ember-cli-wordpress:Ember.js 前端,Wordpress API 后端
文件大小:25KB
文件格式:ZIP
更新时间:2021-06-24 07:48:42
JavaScript Ember-cli-wordpress 这个 Ember-cli 应用程序为 Wordpress 后端提供了一个 Ember.js 前端。 先决条件 您需要在 Wordpress 站点上安装插件,以便公开 RESTful API 以在您的 Ember 应用程序中使用。 您还需要在您的计算机上正确安装以下东西。 (带有 NPM) 安装 git clone 这个仓库 切换到新目录 npm install bower install 修改config/environment.js以添加您的 Wordpress API 端点和命名空间 // config/environment.js ENV.wordpress = { host: "http://", namespace: "wp-json" };
【文件预览】:
ember-cli-wordpress-master
----.gitignore(261B)
----README.md(2KB)
----public()
--------robots.txt(41B)
--------.gitkeep(0B)
--------crossdomain.xml(603B)
----.bowerrc(60B)
----.ember-cli(280B)
----tests()
--------test-helper.js(112B)
--------unit()
--------.jshintrc(814B)
--------helpers()
--------index.html(1000B)
----app()
--------components()
--------routes()
--------views()
--------serializers()
--------router.js(247B)
--------app.js(414B)
--------models()
--------adapters()
--------helpers()
--------styles()
--------index.html(654B)
--------templates()
--------controllers()
----.jshintrc(518B)
----bower.json(548B)
----package.json(1017B)
----vendor()
--------.gitkeep(0B)
----testem.json(170B)
----config()
--------environment.js(1KB)
----.travis.yml(245B)
----.editorconfig(514B)
----Brocfile.js(758B)
----divshot.json(170B)

网友评论