
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@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 70 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.