Skip to content

Commit cccfc68

Browse files
committed
Merge branch 'docs/draft-multipath-routing' of https://github.com/vuestorefront/vue-storefront into docs/draft-multipath-routing
2 parents c8e0ca6 + 7816c19 commit cccfc68

File tree

1 file changed

+4
-4
lines changed
  • docs/content/guides/7.multistore/3.patterns/5.subpath

1 file changed

+4
-4
lines changed

Diff for: docs/content/guides/7.multistore/3.patterns/5.subpath/1.subpath.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ navigation:
88
# How to Make Sub-path Routing
99

1010

11-
Sub-path routing allows you to serve different store configurations from the same Alokai deployment using URL paths. This approach is ideal when you need to maintain multiple stores with different configurations but want to manage them from a single codebase.
11+
Sub-path routing allows you to serve different store configurations from the same Alokai deployment using URL paths. This approach is useful if the multibrand per-domain does not address your requirements.
1212

1313
::info
1414
This guide focuses on implementing multi-store functionality through URL paths (like `/electronics`, `/apparel`). If domain-based separation is sufficient for your use case (like `electronics.example.com`, `apparel.example.com`), the [multibrand feature](https://docs.alokai.com/guides/multistore/tooling-and-concepts) is the preferred approach.
@@ -507,7 +507,7 @@ const config: Config = {
507507
export default config;
508508
```
509509

510-
Then use these variants in your components:
510+
Then use these variants (`electronics:`, `apparel:`, etc.) in your components:
511511

512512
```tsx
513513
// apps/storefront-unified-nextjs/components/ui/navbar-top.tsx
@@ -551,10 +551,10 @@ export default {
551551
} as Config;
552552
```
553553

554-
Then use these variants in your components:
554+
Then use these variants (`electronics:`, `apparel:`, etc.) in your components:
555555

556556
```vue
557-
<!-- apps/storefront-unified-nuxt/components/ui/NavbarTop.vue -->
557+
// apps/storefront-unified-nuxt/components/ui/NavbarTop.vue
558558
<template>
559559
<header
560560
:class="[

0 commit comments

Comments
 (0)