mori-admin-ui
v1.0.6
Published
This is the React-based admin interface for the Mori Chatbot WordPress plugin.
Downloads
825
Readme
Mori Admin UI
This is the React-based admin interface for the Mori Chatbot WordPress plugin.
Development
Prerequisites
- Node.js (v18+)
- pnpm
Setup
Install dependencies:
pnpm installStart development server:
pnpm dev
WordPress Integration
To load assets from the local development server:
- Open
trunk/includes/api/class-api-constants.php - Change
CURRENT_ENVIRONMENTtolocalordevelopment - The plugin will now load assets from
http://localhost:3010
Production Build
To build for production/CDN:
pnpm buildThis will output files to dist/.
Deployment
The production build is served via jsDelivr CDN.
- Build the project:
pnpm build - Publish to npm:
npm publish - Update plugin version if necessary.
