we-plugin-mcn

We.js plugin to notify changes in models

Usage no npm install needed!

<script type="module">
  import wePluginMcn from 'https://cdn.skypack.dev/we-plugin-mcn';
</script>

README

We.js we-plugin-model-change-notificator plugin

We.js plugin to notify changes in models

Instalation:

we i we-plugin-model-change-notificator

Configuration

In config/[file].js or plugin.setConfigs():

...
    modelsToNotifyChanges: {
      content: {
        titleFieldName: 'title'
      }
    },
    modelsToRegisterChanges: {
      content: {
        titleFieldName: 'title'
      }
    },
...

Links

License

Under the MIT license

Sponsored by