
WPCafe Addon for WCFM Marketplace connects WPCafe with WCFM Marketplace so each vendor can run their own restaurant menu, food ordering, and receipt printing from their own WCFM vendor dashboard.
This is an addon and does nothing on its own. It requires:
The vendor-dashboard app is written in React and TypeScript and compiled with webpack via @wordpress/scripts. It ships pre-built so the plugin runs with no build step on the site, and the complete unminified source is included in this plugin, along with everything needed to rebuild the compiled output from it.
Source files:
assets/src/ — the React/TypeScript application
tools/ — build helpers required by webpack.config.js
Build configuration:
package.json — dependencies
webpack.config.js, postcss.config.js, tailwind.config.js, tsconfig.json
To rebuild, from the plugin directory:
npm installnpm run minifyThat compiles assets/src/ and writes the files below to assets/build/, overwriting the versions shipped here:
assets/build/js/dashboard.js
assets/build/js/i18n-loader.js
assets/build/chunks/js/*.js
assets/build/css/admin.css
assets/build/admin-rtl.css
(npm run build does the same, then regenerates languages/wpcafe-addon-for-wcfm.pot and packages a release zip. The zip step uses a Gruntfile that is not part of the released plugin, so use npm run minify to reproduce the compiled assets.)