🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ember-cli-wordpress

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-wordpress

The default blueprint for ember-cli addons.

0.1.2
latest
Source
npm
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-wordpress Build Status

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 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

  • 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

Running Tests

  • npm test (Runs ember 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/.

Keywords

ember-addon

FAQs

Package last updated on 15 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts