This is a proof-of-concept plugin to showcase the Kompakkt Viewer as a block-component for WordPress. When installed, the plugin adds:
- a new "Kompakkt"-block to the block editor
- admin menus to upload and manage models
- Install the required dependencies
npm install
- Start the wp-env WordPress development environment
npm run wp-env start
- Start the development scripts
npm run start
-
Visit the WordPress instance at http://localhost:8888/wp-admin, log in using the username "admin" and the password "password"
-
When done, stop the development environment
npm run wp-env stop
- Add a "Kompakkt"-block to the block editor
- Add admin menus to upload and manage models
- Add option to adjust viewer settings from inside the plugin
- Add option to annotate models from inside the plugin
- Add support for all Kompakkt model types