0.1.4 • Published 3 years ago
@megaswords/cache-manager-module v0.1.4
Cache Manager module
Add a cache Manager module to the XMS
Setup
Install the module
yarn add @megaswords/cache-manager-module
Load the module into the core
// config/core.config.js
export default {
modules: [
require('@megaswords/cache-manager-module'),
],
};
Configuration
Create new file
config/modules/cachemanager/index.js
export { default as loadCacheManager } from '@megaswords/cache-manager-module';
export default {
userRights: {
1: 'read',
},
disablePermissions: false,
id: 'cache',
idSingular: 'cache',
itemLocales: 'i18n',
menu: {
title: 'cachemanager.title',
icon: 'save',
},
};
0.1.4
3 years ago