TODO: Update the badge URLs for the new module's repo.
This module template serves as a starting point for new official Apostrophe modules. This is where you would describe what the purpose of the module is.
To install the module, use the command line to run this command in an Apostrophe project's root directory:
npm install @apostrophecms/module-template
Configure the _______ module in the app.js
file:
require('apostrophe')({
shortName: 'my-project',
modules: {
'@apostrophecms/module-template': {}
}
});
- If the module does not include CSS, remove the Stylelint config file and dependency.
- If any template includes a script with inline code, include the
nonce
attribute set like this:<script nonce="{{ nonce }}">
.