0.1.2 • Published 7 years ago
ember-cli-wordpress v0.1.2
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:
ember serve
- Visit your app at http://localhost:4200.
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
inconfig/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
- post
- category
- tag
- user
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
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.