A WordPress starter plugin with required tool belts ๐
- Pre-configured vite config
- Babel loader, Vue loader
- Uglify JS for production
- Separate
frontend.js
andadmin.js
- Extracted CSS to separate
frontend.css
andadmin.css
files. - Auto reloading with Browser with Browsersync (config)
- Vue and Vue Router
- Frontend (shortcode) and Backend starter app
- Modern PHP codebase with namespace support
- Clone this repository in your plugins folder
- Activate the plugin
- The name of the plugin class is
Base_Plugin
, change the class name with your desired class name. - Replace the PHP namespace
App
with your desired name. - Replace
wpPluginStarter
orWP_PLUGIN_STARTE
reference in files. - Run
yarn install
- To start developing, run
npm run dev
๐ค - For production build, run
npm run build
๐
Made by mahdi Toosi.
Found anything that can be improved? You are welcome to contribute.