A WordPress Svelte starter plugin
- Pre-configured vite config
- Separate
frontend.js
andadmin.js
- Separate
- 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
baseplugin
orBASEPLUGIN
reference in files. - Run
npm install
- To start developing, run
npm run dev
🤘 - For production build, run
npm run build
👍