Svelte WordPress Starter
A WordPress Svelte starter plugin
📦 What it ships with?
- Pre-configured vite config
- Separate
frontend.js
and admin.js
- Frontend (shortcode) and Backend starter app
- Modern PHP codebase with namespace support
🚚 Running
- Clone this repository in your plugins folder
- Activate the plugin
👨💻 Post Installation
- 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
or BASEPLUGIN
reference in files.
- Run
npm install
- To start developing, run
npm run dev
🤘
- For production build, run
npm run build
👍