Dear developers,
a starter project for DeepaMehta 5 plugin developers is now available:
https://github.com/jri/dm5-plugin-template
It demonstrates how you write a plugin that extends the DeepaMehta 5 webclient:
- Mounting Vue.js components
- Registering a Vuex store module for managing the plugin's state
- Injecting DeepaMehta libraries (e.g. DM5 Core types, DM5 REST client) into
components and store module
Also it comes with configuration for:
- Setting up a dev environment with Hot Module Replacement (using Webpack Dev
Server)
- Building the plugin for production (using Webpack)
- JS minification
- CSS extraction
- Hashes for longterm caching
Cheers,
Jörg
--
devel mailing list
[email protected]
http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de