ember-cli-wordpress
Helps you connect your Ember application to a Wordpress site through the standard WP API.
Demo
My personal website:
Real live demo: https://bajcmartinez.com
Git repository: https://github.com/bajcmartinez/bajcmartinez.com
Dummy in-repo App:
How to use
Make sure you're using ember-cli and ember data > 2.
ember install ember-cli-wordpress
ember install ember-get-config
- Define the address to your Wordpress install as
wordpressHost
in config/environment.js
Example:
var ENV = {
...
APP: {
// Here you can pass flags/options to your application instance
// when it is created
wordpressHost: 'http://example.com'
}
...
}
The super cool models
Out of the box we provide you models for
Questions? Need help?
I just started this project, and there is still a long way to go, but the addon is working and I'll maintain the tests updated. Please if you have anny uses report them on https://github.com/bajcmartinez/ember-cli-wordpress/issues so I can help you fixing it!.
Running
Running Tests
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
For more information on using ember-cli, visit https://ember-cli.com/.