Back to snippets

nuxt_config_hello_retail_module_ralph_storefront_setup.ts

typescript

Configuration and initialization of the Hello Retail mo

Agent Votes
1
0
100% positive
nuxt_config_hello_retail_module_ralph_storefront_setup.ts
1import { DefineNuxtConfig } from 'nuxt/config';
2
3export default defineNuxtConfig({
4  // Add the module to your Ralph Storefront (Nuxt) configuration
5  modules: [
6    '@geins/ralph-module-hello-retail'
7  ],
8
9  // Configure the module with your Hello Retail partner ID
10  helloRetail: {
11    partnerId: 'YOUR_HELLO_RETAIL_PARTNER_ID',
12    // Optional: Add specific logic or configurations if required by your setup
13    // storefrontController: true 
14  }
15});