Corrected Blocks Readme
This commit is contained in:
parent
b4fd0c3b7b
commit
6d57e59ad4
|
@ -1,25 +1,11 @@
|
|||
# WooCommerce Blocks <!-- omit in toc -->
|
||||
|
||||
[![Latest Tag](https://img.shields.io/github/tag/woocommerce/woocommerce-gutenberg-products-block.svg?style=flat&label=Latest%20Tag)](https://github.com/woocommerce/woocommerce-gutenberg-products-block/releases)
|
||||
[![View](https://img.shields.io/badge/Project%20Components-brightgreen.svg?style=flat)](https://woocommerce.github.io/woocommerce-blocks/)
|
||||
![JavaScript and CSS Linting](https://github.com/woocommerce/woocommerce-gutenberg-products-block/workflows/JavaScript%20and%20CSS%20Linting/badge.svg?branch=trunk)
|
||||
![PHP Coding Standards](https://github.com/woocommerce/woocommerce-gutenberg-products-block/workflows/PHP%20Coding%20Standards/badge.svg?branch=trunk)
|
||||
![Unit Tests](https://github.com/woocommerce/woocommerce-blocks/workflows/E2E%20tests/badge.svg?branch=trunk)
|
||||
![E2E Tests](https://github.com/woocommerce/woocommerce-blocks/workflows/Unit%20Tests/badge.svg?branch=trunk)
|
||||
|
||||
This is the feature plugin for WooCommerce + the Gutenberg. This plugin serves as a space to iterate and explore new Blocks and updates to existing blocks for WooCommerce, and how WooCommerce might work with the block editor.
|
||||
|
||||
Use this plugin if you want access to the bleeding edge of available blocks for WooCommerce. However, stable blocks are bundled into WooCommerce, and can be added from the "WooCommerce" section in the block inserter.
|
||||
|
||||
- [WCCOM product page](https://woocommerce.com/products/woocommerce-gutenberg-products-block/)
|
||||
- [User documentation](https://docs.woocommerce.com/document/woocommerce-blocks/)
|
||||
This is the client for WooCommerce + the Gutenberg. This plugin serves as a space to iterate and explore new Blocks and updates to existing blocks for WooCommerce, and how WooCommerce might work with the block editor.
|
||||
|
||||
## Table of Contents <!-- omit in toc -->
|
||||
|
||||
- [Documentation](#documentation)
|
||||
- [Code Documentation](#code-documentation)
|
||||
- [Installing the plugin version](#installing-the-plugin-version)
|
||||
- [Installing the development version](#installing-the-development-version)
|
||||
- [Getting started with block development](#getting-started-with-block-development)
|
||||
- [Long-term vision](#long-term-vision)
|
||||
|
||||
|
@ -36,31 +22,6 @@ If you want to see what we're working on for future versions, or want to help ou
|
|||
- [WooCommerce Blocks Handbook](./docs) - Documentation for designers and developers on how to extend or contribute to blocks, and how internal developers should handle new releases.
|
||||
- [WooCommerce Blocks Storybook](https://woocommerce.github.io/woocommerce-blocks/) - Contains a list and demo of components used in the plugin.
|
||||
|
||||
## Installing the plugin version
|
||||
|
||||
We release a new version of WooCommerce Blocks onto WordPress.org every few weeks, which can be used as an easier way to preview the features.
|
||||
|
||||
> Note: The plugin follows a policy of supporting the "L0" strategy for version support. What this means is that the plugin will require the most recent version of WordPress. It will also require the most recent version of WooCommerce core at the time of a release. You can read more about [this policy here](https://developer.woocommerce.com/?p=9998).
|
||||
|
||||
1.Ensure you have the latest available versions of WordPress and WooCommerce installed on your site.
|
||||
2. The plugin version is available on WordPress.org. [Download the plugin version here.](https://wordpress.org/plugins/woo-gutenberg-products-block/)
|
||||
3. Activate the plugin.
|
||||
|
||||
## Installing the development version
|
||||
|
||||
1. Ensure you have the latest versions of WordPress and WooCommerce installed on your site.
|
||||
2. Get a copy of this plugin using the green "Clone or download" button on the right.
|
||||
3. Make sure you're using Node.js v16.15. If you use a Node version management tool such as `nvm` or `n`, you can do so by running `nvm use` or `n auto`, respectively.
|
||||
4. `npm install` to install the dependencies.
|
||||
5. `composer install` to install core dependencies.
|
||||
6. To compile the code, run any of the following commands
|
||||
1. `npm run build` (production build).
|
||||
2. `npm run dev` (development build).
|
||||
3. `npm start` (development build + watching for changes).
|
||||
7. Activate the plugin.
|
||||
|
||||
The source code is in the `assets/` folder, and the compiled code is stored into `build/`.
|
||||
|
||||
## Getting started with block development
|
||||
|
||||
Run through the ["Writing Your First Block Type" tutorial](https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/writing-your-first-block-type/) for a quick course in block-building.
|
||||
|
|
Loading…
Reference in New Issue