woocommerce/plugins/woocommerce-admin/docs
Paul Sealock f93d0b3a2e Prep for release 0.15.0 (https://github.com/woocommerce/woocommerce-admin/pull/2641) 2019-07-12 14:27:18 -07:00
..
components Prep for release 0.15.0 (https://github.com/woocommerce/woocommerce-admin/pull/2641) 2019-07-12 14:27:18 -07:00
examples show example extension list as list in readme 2019-07-09 14:30:04 -03:00
.nojekyll
README.md Change all remaining URLs from #/style to ?path=style 2019-07-01 09:15:46 +01:00
_sidebar.md
data.md
documentation.md Change all remaining URLs from #/style to ?path=style 2019-07-01 09:15:46 +01:00
feature-flags.md Components: fix README url 2019-04-30 07:55:32 +12:00
index.html Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795) 2019-03-13 11:14:02 -06:00
layout.md
page-controller.md Suggest text-domain in docs, not woocommerce-admin 2019-05-28 06:41:46 +12:00
stylesheets.md

README.md

WooCommerce Admin

This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.


⚠️ This project is in active development, and is not ready for general use. You can follow the features in development by looking at the project's issues. We do not recommend running this on production sites.


Prerequisites

Gutenberg and WooCommerce should be installed prior to activating the WooCommerce Admin feature plugin.

For better debugging, it's also recommended you add define( 'SCRIPT_DEBUG', true ); to your wp-config. This will load the unminified version of all libraries, and specifically the development build of React.

Development

After cloning the repo, install dependencies with npm install. Now you can build the files using one of these commands:

  • npm run build : Build a production version
  • npm start : Build a development version, watch files for changes

There are also some helper scripts:

Dev Docs

There is a "devdocs" page which is useful for displaying components individually outside of the application. It can be viewed via a normal npm start build at http://<your-wp-site>/wp-admin/admin.php?page=wc-admin&path=/devdocs.

This is useful for viewing of WooCommerce components components and ad-hoc testing.