You can generate boilerplate WordPress plugin with simple commands
use below command for install wpcreator
globally:
npm install -g wpcreator
###1. Create plugin base
Go to directory that must contain your plugin such as /wp-content/plugins/
and generate your base plugin:
cd {wordpress_dir}/wp-content/plugins/
wpcreator plugin "Daneshjooyar Course Shop"
Or use npx
tool:
npx wpcreator plugin "Mypluygin"
Go to new plugin directory and install composer:
cd daneshjooyar-course-shop
composer install
For install VueJs panel for to Panel
directory and run below command:
cd Panel
npm install
Note: For dev mode VueJs panel define PANEL_DEBUG
in wp-config.php
file:
define( 'PANEL_DEBUG', true );