[deepamehta-devel] Starter project for DeepaMehta 5 plugin developers

Jörg Richter jri at deepamehta.de
Mon Feb 4 03:36:14 CET 2019


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



More information about the devel mailing list