
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@geins/ralph-module-cms
Advanced tools
This module is a helping tool to render your widgets, when you're using the Geins CMS to create custom widgets.
These extra options can be added to the module configuration in nuxt.config.js
file.
Parameter | Default | Example |
---|---|---|
enabled | true | Enable/Disable the module |
The component this module includes is called GeinsCreatedWidgets
and it's only job is to render the component specified in the JSON supplied to the widget.
npm i @geins/ralph-module-cms
Add the module to your storefront by adding the following line to your nuxt.config.json
file:
...
modules: [
...
'@geins/ralph-module-cms'
]
Set the widgetRenderTypesComponents
config object in your nuxt.config.json
file to use the GeinsCreatedWidgets
component from this module to be used, instead of the default for the JSON
widget type.
...
publicRuntimeConfig: {
...
widgetRenderTypesComponents: {
JSON: 'GeinsCreatedWidgets'
},
...
}
...
Use the Create widget function in your Geins Merchant Center. Add your configuration in the following JSON format for this module to work correctly:
{
"component": "MyWidgetComponent",
"configuration": {
// Add your configuration here
}
}
Your custom widget component needs a configuration
prop. This prop will hold the configuration
from your JSON above. For example:
...
export default {
name: 'MyWidgetComponent',
props: {
configuration: {
type: Object,
required: true
}
}
...
}
...
FAQs
Module for Geins CMS to handle custom created widgets
The npm package @geins/ralph-module-cms receives a total of 29 weekly downloads. As such, @geins/ralph-module-cms popularity was classified as not popular.
We found that @geins/ralph-module-cms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.