[{"data":1,"prerenderedAt":1134},["ShallowReactive",2],{"navigation_docs":3,"-docs-storefront-sdk-nuxt-layer-overview":357,"-docs-storefront-sdk-nuxt-layer-overview-surround":1129,"docs-site-config":1118},[4,74,135,139,161,195,273],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77,"children":78},"Avvyr CMS","\u002Fdocs\u002Fcms","docs\u002Fcms\u002Findex",[79,80,92,105,118,131],{"title":75,"path":76,"stem":77},{"title":11,"path":81,"stem":82,"children":83,"page":31},"\u002Fdocs\u002Fcms\u002Fgetting-started","docs\u002Fcms\u002F1.getting-started",[84,88],{"title":85,"path":86,"stem":87},"Quickstart","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fquickstart","docs\u002Fcms\u002F1.getting-started\u002F1.quickstart",{"title":89,"path":90,"stem":91},"Keys and access","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fkeys-and-access","docs\u002Fcms\u002F1.getting-started\u002F2.keys-and-access",{"title":93,"path":94,"stem":95,"children":96,"page":31},"Content Model","\u002Fdocs\u002Fcms\u002Fcontent-model","docs\u002Fcms\u002F2.content-model",[97,101],{"title":98,"path":99,"stem":100},"Types and fields","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Ftypes-and-fields","docs\u002Fcms\u002F2.content-model\u002F1.types-and-fields",{"title":102,"path":103,"stem":104},"Entries and publishing","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Fentries-and-publishing","docs\u002Fcms\u002F2.content-model\u002F2.entries-and-publishing",{"title":106,"path":107,"stem":108,"children":109,"page":31},"Delivery","\u002Fdocs\u002Fcms\u002Fdelivery","docs\u002Fcms\u002F3.delivery",[110,114],{"title":111,"path":112,"stem":113},"Delivery API","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fdelivery-api","docs\u002Fcms\u002F3.delivery\u002F1.delivery-api",{"title":115,"path":116,"stem":117},"Preview and live editing","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fpreview","docs\u002Fcms\u002F3.delivery\u002F2.preview",{"title":119,"path":120,"stem":121,"children":122,"page":31},"Frameworks","\u002Fdocs\u002Fcms\u002Fframeworks","docs\u002Fcms\u002F4.frameworks",[123,127],{"title":124,"path":125,"stem":126},"JavaScript client","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fjavascript-client","docs\u002Fcms\u002F4.frameworks\u002F1.javascript-client",{"title":128,"path":129,"stem":130},"Nuxt layer","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fnuxt","docs\u002Fcms\u002F4.frameworks\u002F2.nuxt",{"title":132,"path":133,"stem":134},"Management API","\u002Fdocs\u002Fcms\u002Fmanagement-api","docs\u002Fcms\u002F5.management-api",{"title":136,"path":137,"stem":138},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":140,"path":141,"stem":142,"children":143},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[144,145],{"title":140,"path":141,"stem":142},{"title":11,"path":146,"stem":147,"children":148,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[149,153,157],{"title":150,"path":151,"stem":152},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":154,"path":155,"stem":156},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":158,"path":159,"stem":160},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":162,"path":163,"stem":164,"children":165},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[166,167],{"title":162,"path":163,"stem":164},{"title":11,"path":168,"stem":169,"children":170,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[171,175,179,183,187,191],{"title":172,"path":173,"stem":174},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":176,"path":177,"stem":178},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":180,"path":181,"stem":182},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":184,"path":185,"stem":186},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":188,"path":189,"stem":190},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":192,"path":193,"stem":194},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":196,"path":197,"stem":198,"children":199},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[200,201,225,234,244],{"title":196,"path":197,"stem":198},{"title":11,"path":202,"stem":203,"children":204,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[205,209,213,217,221],{"title":206,"path":207,"stem":208},"Claude","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude","docs\u002Fmcp\u002F1.getting-started\u002F1.claude",{"title":210,"path":211,"stem":212},"Claude Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-code","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-code",{"title":214,"path":215,"stem":216},"VS Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode","docs\u002Fmcp\u002F1.getting-started\u002F3.vscode",{"title":218,"path":219,"stem":220},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F4.cursor",{"title":222,"path":223,"stem":224},"Verify the connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F5.verify",{"title":226,"path":227,"stem":228,"children":229,"page":31},"Docs Server","\u002Fdocs\u002Fmcp\u002Fdocs-server","docs\u002Fmcp\u002F2.docs-server",[230],{"title":231,"path":232,"stem":233},"Docs server tools","\u002Fdocs\u002Fmcp\u002Fdocs-server\u002Ftools","docs\u002Fmcp\u002F2.docs-server\u002F1.tools",{"title":235,"path":236,"stem":237,"children":238},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[239,240],{"title":235,"path":236,"stem":237},{"title":241,"path":242,"stem":243},"Available tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":245,"path":246,"stem":247,"children":248,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[249,253,257,261,265,269],{"title":250,"path":251,"stem":252},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":254,"path":255,"stem":256},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":258,"path":259,"stem":260},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":262,"path":263,"stem":264},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":266,"path":267,"stem":268},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":270,"path":271,"stem":272},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":274,"path":275,"stem":276,"children":277,"page":31},"Storefront SDK","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[278,290,323,338],{"title":11,"path":279,"stem":280,"children":281,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[282,286],{"title":283,"path":284,"stem":285},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":287,"path":288,"stem":289},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":291,"path":292,"stem":293,"children":294,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[295,299,303,307,311,315,319],{"title":296,"path":297,"stem":298},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":300,"path":301,"stem":302},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":304,"path":305,"stem":306},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":308,"path":309,"stem":310},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":312,"path":313,"stem":314},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":316,"path":317,"stem":318},"Customer assistant","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fassistant","docs\u002Fstorefront-sdk\u002F2.resources\u002F6.assistant",{"title":320,"path":321,"stem":322},"Products in images","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts-in-images","docs\u002Fstorefront-sdk\u002F2.resources\u002F7.products-in-images",{"title":128,"path":324,"stem":325,"children":326,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[327,331,335],{"title":328,"path":329,"stem":330},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":332,"path":333,"stem":334},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"title":316,"path":336,"stem":337},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fassistant","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F3.assistant",{"title":67,"path":339,"stem":340,"children":341,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs","docs\u002Fstorefront-sdk\u002F4.nextjs",[342,345,349,353],{"title":328,"path":343,"stem":344},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Foverview","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F1.overview",{"title":346,"path":347,"stem":348},"Hooks","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fhooks","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F2.hooks",{"title":350,"path":351,"stem":352},"Server helpers and proxy","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fserver","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F3.server",{"title":354,"path":355,"stem":356},"Components","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fcomponents","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F4.components",{"id":358,"title":328,"body":359,"description":1116,"extension":1117,"links":1118,"meta":1119,"navigation":1126,"path":329,"seo":1127,"stem":330,"__hash__":1128},"docs\u002Fdocs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview.md",{"type":360,"value":361,"toc":1106},"minimark",[362,381,458,462,490,497,559,563,569,946,952,988,992,999,1009,1014,1028,1032,1039,1102],[363,364,365,369,370,376,377,380],"p",{},[366,367,368],"code",{},"@avvyr\u002Fstorefront-nuxt"," is a ",[371,372,128],"a",{"href":373,"rel":374},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002Fgetting-started\u002Flayers",[375],"nofollow"," built on top of ",[366,378,379],{},"@avvyr\u002Fstorefront-sdk",". Add it to your project and you get:",[382,383,384,409,415,428,434,444],"ul",{},[385,386,387,390,391,394,395,394,398,394,401,404,405,408],"li",{},[388,389,332],"strong",{}," — ",[366,392,393],{},"useCart",", ",[366,396,397],{},"useAuth",[366,399,400],{},"useProducts",[366,402,403],{},"useCheckout",", and more. Each one wraps the SDK in ",[366,406,407],{},"useState"," for SSR-safe reactive state.",[385,410,411,414],{},[388,412,413],{},"Auto-restored cart"," — a plugin restores the cart from cookie on every page load.",[385,416,417,423,424,427],{},[388,418,419,422],{},[366,420,421],{},"auth"," route middleware"," — protect pages with a single ",[366,425,426],{},"definePageMeta"," call.",[385,429,430,433],{},[388,431,432],{},"Server proxy"," — keeps the private key off the browser.",[385,435,436,439,440,443],{},[388,437,438],{},"App config schema"," — typed ",[366,441,442],{},"storefront"," key with market config, cookie names, variant display settings.",[385,445,446,449,450,453,454,457],{},[388,447,448],{},"Full B2B support"," — customer registration, login (magic link + password), order history, and account management are all included. ",[366,451,452],{},"useAuth()"," handles the full session lifecycle; ",[366,455,456],{},"useOrders()"," gives customers access to their order history with no extra setup.",[459,460,283],"h2",{"id":461},"installation",[463,464,469],"pre",{"className":465,"code":466,"language":467,"meta":468,"style":468},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @avvyr\u002Fstorefront-nuxt @avvyr\u002Fstorefront-sdk\n","bash","",[366,470,471],{"__ignoreMap":468},[472,473,476,480,484,487],"span",{"class":474,"line":475},"line",1,[472,477,479],{"class":478},"sBMFI","npm",[472,481,483],{"class":482},"sfazB"," install",[472,485,486],{"class":482}," @avvyr\u002Fstorefront-nuxt",[472,488,489],{"class":482}," @avvyr\u002Fstorefront-sdk\n",[363,491,492,493,496],{},"In ",[366,494,495],{},"nuxt.config.ts",":",[463,498,502],{"className":499,"code":500,"language":501,"meta":468,"style":468},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  extends: ['@avvyr\u002Fstorefront-nuxt'],\n})\n","ts",[366,503,504,525,550],{"__ignoreMap":468},[472,505,506,510,513,517,521],{"class":474,"line":475},[472,507,509],{"class":508},"s7zQu","export",[472,511,512],{"class":508}," default",[472,514,516],{"class":515},"s2Zo4"," defineNuxtConfig",[472,518,520],{"class":519},"sTEyZ","(",[472,522,524],{"class":523},"sMK4o","{\n",[472,526,528,532,534,537,540,542,544,547],{"class":474,"line":527},2,[472,529,531],{"class":530},"swJcz","  extends",[472,533,496],{"class":523},[472,535,536],{"class":519}," [",[472,538,539],{"class":523},"'",[472,541,368],{"class":482},[472,543,539],{"class":523},[472,545,546],{"class":519},"]",[472,548,549],{"class":523},",\n",[472,551,553,556],{"class":474,"line":552},3,[472,554,555],{"class":523},"}",[472,557,558],{"class":519},")\n",[459,560,562],{"id":561},"configure","Configure",[363,564,565,566,496],{},"Create or update your ",[366,567,568],{},"app.config.ts",[463,570,572],{"className":499,"code":571,"language":501,"meta":468,"style":468},"export default defineAppConfig({\n  storefront: {\n    store: {\n      strategy: 'path',  \u002F\u002F 'path' | 'domain'\n      default: 'se',     \u002F\u002F default market id\n      markets: [\n        {\n          id: 'se',\n          marketId: '676140c4136218caaf97d79e',\n          name: 'Sverige',\n          locale: 'sv-SE',\n          i18n: 'sv',\n          currency: 'SEK',\n        },\n        {\n          id: 'no',\n          marketId: '676140c4136218caaf97d780',\n          name: 'Norge',\n          locale: 'nb-NO',\n          i18n: 'nb',\n          currency: 'NOK',\n        },\n      ],\n    },\n    \u002F\u002F Cookie names — change if they clash with your existing cookies\n    cartCookie: 'avvyr_cart',\n    authCookie: 'avvyr_auth',\n  },\n})\n",[366,573,574,587,597,606,629,649,660,666,682,699,716,733,750,767,773,778,794,810,826,842,858,874,879,887,893,899,916,933,939],{"__ignoreMap":468},[472,575,576,578,580,583,585],{"class":474,"line":475},[472,577,509],{"class":508},[472,579,512],{"class":508},[472,581,582],{"class":515}," defineAppConfig",[472,584,520],{"class":519},[472,586,524],{"class":523},[472,588,589,592,594],{"class":474,"line":527},[472,590,591],{"class":530},"  storefront",[472,593,496],{"class":523},[472,595,596],{"class":523}," {\n",[472,598,599,602,604],{"class":474,"line":552},[472,600,601],{"class":530},"    store",[472,603,496],{"class":523},[472,605,596],{"class":523},[472,607,609,612,614,617,620,622,625],{"class":474,"line":608},4,[472,610,611],{"class":530},"      strategy",[472,613,496],{"class":523},[472,615,616],{"class":523}," '",[472,618,619],{"class":482},"path",[472,621,539],{"class":523},[472,623,624],{"class":523},",",[472,626,628],{"class":627},"sHwdD","  \u002F\u002F 'path' | 'domain'\n",[472,630,632,635,637,639,642,644,646],{"class":474,"line":631},5,[472,633,634],{"class":530},"      default",[472,636,496],{"class":523},[472,638,616],{"class":523},[472,640,641],{"class":482},"se",[472,643,539],{"class":523},[472,645,624],{"class":523},[472,647,648],{"class":627},"     \u002F\u002F default market id\n",[472,650,652,655,657],{"class":474,"line":651},6,[472,653,654],{"class":530},"      markets",[472,656,496],{"class":523},[472,658,659],{"class":519}," [\n",[472,661,663],{"class":474,"line":662},7,[472,664,665],{"class":523},"        {\n",[472,667,669,672,674,676,678,680],{"class":474,"line":668},8,[472,670,671],{"class":530},"          id",[472,673,496],{"class":523},[472,675,616],{"class":523},[472,677,641],{"class":482},[472,679,539],{"class":523},[472,681,549],{"class":523},[472,683,685,688,690,692,695,697],{"class":474,"line":684},9,[472,686,687],{"class":530},"          marketId",[472,689,496],{"class":523},[472,691,616],{"class":523},[472,693,694],{"class":482},"676140c4136218caaf97d79e",[472,696,539],{"class":523},[472,698,549],{"class":523},[472,700,702,705,707,709,712,714],{"class":474,"line":701},10,[472,703,704],{"class":530},"          name",[472,706,496],{"class":523},[472,708,616],{"class":523},[472,710,711],{"class":482},"Sverige",[472,713,539],{"class":523},[472,715,549],{"class":523},[472,717,719,722,724,726,729,731],{"class":474,"line":718},11,[472,720,721],{"class":530},"          locale",[472,723,496],{"class":523},[472,725,616],{"class":523},[472,727,728],{"class":482},"sv-SE",[472,730,539],{"class":523},[472,732,549],{"class":523},[472,734,736,739,741,743,746,748],{"class":474,"line":735},12,[472,737,738],{"class":530},"          i18n",[472,740,496],{"class":523},[472,742,616],{"class":523},[472,744,745],{"class":482},"sv",[472,747,539],{"class":523},[472,749,549],{"class":523},[472,751,753,756,758,760,763,765],{"class":474,"line":752},13,[472,754,755],{"class":530},"          currency",[472,757,496],{"class":523},[472,759,616],{"class":523},[472,761,762],{"class":482},"SEK",[472,764,539],{"class":523},[472,766,549],{"class":523},[472,768,770],{"class":474,"line":769},14,[472,771,772],{"class":523},"        },\n",[472,774,776],{"class":474,"line":775},15,[472,777,665],{"class":523},[472,779,781,783,785,787,790,792],{"class":474,"line":780},16,[472,782,671],{"class":530},[472,784,496],{"class":523},[472,786,616],{"class":523},[472,788,789],{"class":482},"no",[472,791,539],{"class":523},[472,793,549],{"class":523},[472,795,797,799,801,803,806,808],{"class":474,"line":796},17,[472,798,687],{"class":530},[472,800,496],{"class":523},[472,802,616],{"class":523},[472,804,805],{"class":482},"676140c4136218caaf97d780",[472,807,539],{"class":523},[472,809,549],{"class":523},[472,811,813,815,817,819,822,824],{"class":474,"line":812},18,[472,814,704],{"class":530},[472,816,496],{"class":523},[472,818,616],{"class":523},[472,820,821],{"class":482},"Norge",[472,823,539],{"class":523},[472,825,549],{"class":523},[472,827,829,831,833,835,838,840],{"class":474,"line":828},19,[472,830,721],{"class":530},[472,832,496],{"class":523},[472,834,616],{"class":523},[472,836,837],{"class":482},"nb-NO",[472,839,539],{"class":523},[472,841,549],{"class":523},[472,843,845,847,849,851,854,856],{"class":474,"line":844},20,[472,846,738],{"class":530},[472,848,496],{"class":523},[472,850,616],{"class":523},[472,852,853],{"class":482},"nb",[472,855,539],{"class":523},[472,857,549],{"class":523},[472,859,861,863,865,867,870,872],{"class":474,"line":860},21,[472,862,755],{"class":530},[472,864,496],{"class":523},[472,866,616],{"class":523},[472,868,869],{"class":482},"NOK",[472,871,539],{"class":523},[472,873,549],{"class":523},[472,875,877],{"class":474,"line":876},22,[472,878,772],{"class":523},[472,880,882,885],{"class":474,"line":881},23,[472,883,884],{"class":519},"      ]",[472,886,549],{"class":523},[472,888,890],{"class":474,"line":889},24,[472,891,892],{"class":523},"    },\n",[472,894,896],{"class":474,"line":895},25,[472,897,898],{"class":627},"    \u002F\u002F Cookie names — change if they clash with your existing cookies\n",[472,900,902,905,907,909,912,914],{"class":474,"line":901},26,[472,903,904],{"class":530},"    cartCookie",[472,906,496],{"class":523},[472,908,616],{"class":523},[472,910,911],{"class":482},"avvyr_cart",[472,913,539],{"class":523},[472,915,549],{"class":523},[472,917,919,922,924,926,929,931],{"class":474,"line":918},27,[472,920,921],{"class":530},"    authCookie",[472,923,496],{"class":523},[472,925,616],{"class":523},[472,927,928],{"class":482},"avvyr_auth",[472,930,539],{"class":523},[472,932,549],{"class":523},[472,934,936],{"class":474,"line":935},28,[472,937,938],{"class":523},"  },\n",[472,940,942,944],{"class":474,"line":941},29,[472,943,555],{"class":523},[472,945,558],{"class":519},[363,947,948,949,496],{},"Set keys in ",[366,950,951],{},".env",[463,953,955],{"className":465,"code":954,"language":467,"meta":468,"style":468},"NUXT_PUBLIC_STOREFRONT_BASE_URL=https:\u002F\u002Fapi.avvyr.com\nNUXT_PUBLIC_STOREFRONT_PUBLIC_KEY=sfp_your_public_key\nNUXT_STOREFRONT_PRIVATE_KEY=sfs_your_private_key\n",[366,956,957,968,978],{"__ignoreMap":468},[472,958,959,962,965],{"class":474,"line":475},[472,960,961],{"class":519},"NUXT_PUBLIC_STOREFRONT_BASE_URL",[472,963,964],{"class":523},"=",[472,966,967],{"class":482},"https:\u002F\u002Fapi.avvyr.com\n",[472,969,970,973,975],{"class":474,"line":527},[472,971,972],{"class":519},"NUXT_PUBLIC_STOREFRONT_PUBLIC_KEY",[472,974,964],{"class":523},[472,976,977],{"class":482},"sfp_your_public_key\n",[472,979,980,983,985],{"class":474,"line":552},[472,981,982],{"class":519},"NUXT_STOREFRONT_PRIVATE_KEY",[472,984,964],{"class":523},[472,986,987],{"class":482},"sfs_your_private_key\n",[459,989,991],{"id":990},"market-strategies","Market strategies",[993,994,996,998],"h3",{"id":995},"path-default",[366,997,619],{}," (default)",[363,1000,1001,1002,394,1005,1008],{},"Markets are resolved from the URL prefix: ",[366,1003,1004],{},"\u002Fse\u002Fproducts",[366,1006,1007],{},"\u002Fno\u002Fproducts",". The default market gets no prefix.",[993,1010,1012],{"id":1011},"domain",[366,1013,1011],{},[363,1015,1016,1017,1019,1020,1023,1024,1027],{},"Markets are resolved from the hostname. Configure ",[366,1018,1011],{}," (and optionally ",[366,1021,1022],{},"stagingDomain"," \u002F ",[366,1025,1026],{},"devDomain",") on each market entry.",[459,1029,1031],{"id":1030},"whats-auto-imported","What's auto-imported",[363,1033,1034,1035,1038],{},"All composables are auto-imported by Nuxt — no explicit imports needed in your ",[366,1036,1037],{},".vue"," files:",[463,1040,1044],{"className":1041,"code":1042,"language":1043,"meta":468,"style":468},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\n\u002F\u002F No import needed\nconst { cart, addItem } = useCart()\n\u003C\u002Fscript>\n","vue",[366,1045,1046,1061,1066,1093],{"__ignoreMap":468},[472,1047,1048,1051,1054,1058],{"class":474,"line":475},[472,1049,1050],{"class":523},"\u003C",[472,1052,1053],{"class":530},"script",[472,1055,1057],{"class":1056},"spNyl"," setup",[472,1059,1060],{"class":523},">\n",[472,1062,1063],{"class":474,"line":527},[472,1064,1065],{"class":627},"\u002F\u002F No import needed\n",[472,1067,1068,1071,1074,1077,1079,1082,1084,1087,1090],{"class":474,"line":552},[472,1069,1070],{"class":1056},"const",[472,1072,1073],{"class":523}," {",[472,1075,1076],{"class":519}," cart",[472,1078,624],{"class":523},[472,1080,1081],{"class":519}," addItem ",[472,1083,555],{"class":523},[472,1085,1086],{"class":523}," =",[472,1088,1089],{"class":515}," useCart",[472,1091,1092],{"class":519},"()\n",[472,1094,1095,1098,1100],{"class":474,"line":608},[472,1096,1097],{"class":523},"\u003C\u002F",[472,1099,1053],{"class":530},[472,1101,1060],{"class":523},[1103,1104,1105],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":468,"searchDepth":527,"depth":527,"links":1107},[1108,1109,1110,1115],{"id":461,"depth":527,"text":283},{"id":561,"depth":527,"text":562},{"id":990,"depth":527,"text":991,"children":1111},[1112,1114],{"id":995,"depth":552,"text":1113},"path (default)",{"id":1011,"depth":552,"text":1011},{"id":1030,"depth":527,"text":1031},"What @avvyr\u002Fstorefront-nuxt gives you and how to install it","md",null,{"questions":1120},{"en":1121},[1122,1123,1124,1125],"How do I add the Nuxt layer to my project?","How do I configure markets in app.config.ts?","What is the difference between the path and domain market strategies?","Which environment variables does the layer need?",true,{"title":328,"description":1116},"-QHiZLIUac30j88kujhIIngSmcw3NHxt4yHjRyOUrZ8",[1130,1132],{"title":320,"path":321,"stem":322,"description":1131,"children":-1},"Shoppable images. Hotspots that link the products shown in a photo",{"title":332,"path":333,"stem":334,"description":1133,"children":-1},"All composables provided by @avvyr\u002Fstorefront-nuxt",1793388941396]