992951f3ef
* Bump package versions for release * Update start plugin dependency version * Add changelog to components and onboarding package |
||
---|---|---|
.. | ||
src | ||
._eslintrc.js | ||
._gitignore | ||
._prettierrc.json | ||
README.md | ||
_README.md | ||
_main.php | ||
_package.json | ||
_webpack.config.js | ||
starter-pack.js |
README.md
Create Extension
Scaffold a modern JavaScript WordPress plugin with WooCommerce tooling.
Includes
- wp-scripts
- WooCommerce Dependency Extraction Webpack Plugin
- WooCommerce ESLint Plugin with WordPress Prettier
Usage
At the root of a WooCommerce Admin installation, run the create extension command.
npm run create-wc-extension
The script will create a sibling directory by a name of your choosing. Once you change directories into the new folder, install dependencies and start a development build.
npm install
npm start