diff --git a/docs/content/guides/6.multistore/1.index.md b/docs/content/guides/6.multistore/1.index.md new file mode 100644 index 0000000000..bdce90b365 --- /dev/null +++ b/docs/content/guides/6.multistore/1.index.md @@ -0,0 +1,32 @@ +--- +title: +layout: default +--- + +# Multistore + +On this page you'll find a set of guides that will help you to understand the fundamentals of Alokai and how different parts of our stack will help you to build your Alokai application. + +Below you will find a list of guides to help you get started with Alokai. + +::card{title="Introduction" icon="tabler:brand-nextjs" to="/guides/multistore/introduction" } + +#description +Learn +:: + +
+ +::card{title="Tooling and concepts" icon="tabler:brand-react" to="/guides/multistore/tooling-and-concepts" } + +#description +Learn +:: + +
+ +::card{title="Patterns" icon="tabler:brand-nuxt" to="/guides/multistore/patterns" } + +#description +Learn +:: diff --git a/docs/content/guides/6.multistore/1.introduction/1.index.md b/docs/content/guides/6.multistore/1.introduction/1.index.md new file mode 100644 index 0000000000..813ddce2d1 --- /dev/null +++ b/docs/content/guides/6.multistore/1.introduction/1.index.md @@ -0,0 +1,20 @@ +--- +title: Challenges with multistore setups +layout: default +--- + +# Challenges with multistore setups + +Let's get started! + +::card{title="Next: How Alokai is uniquely positioned to solve this problem better than others" icon="tabler:number-1-small" } + +#description + +TODO + +#cta +:::docs-button{to="/guides/multistore/introduction/alokai-solve-this-problem"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/1.introduction/2.alokai-solve-this-problem.md b/docs/content/guides/6.multistore/1.introduction/2.alokai-solve-this-problem.md new file mode 100644 index 0000000000..c055ebcb14 --- /dev/null +++ b/docs/content/guides/6.multistore/1.introduction/2.alokai-solve-this-problem.md @@ -0,0 +1,20 @@ +--- +title: How Alokai is uniquely positioned to solve this problem better than others +layout: default +navigation: + icon: tabler:number-1-small +--- + +# How Alokai is uniquely positioned to solve this problem better than others + + +::card{title="Next: Use cases" icon="tabler:number-2-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/introduction/use-cases"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/1.introduction/3.use-cases.md b/docs/content/guides/6.multistore/1.introduction/3.use-cases.md new file mode 100644 index 0000000000..b218461dab --- /dev/null +++ b/docs/content/guides/6.multistore/1.introduction/3.use-cases.md @@ -0,0 +1,20 @@ +--- +title: Use cases +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Use cases + + +::card{title="Next: Tooling and concepts" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/1.introduction/_dir.yml b/docs/content/guides/6.multistore/1.introduction/_dir.yml new file mode 100644 index 0000000000..4c60ff0303 --- /dev/null +++ b/docs/content/guides/6.multistore/1.introduction/_dir.yml @@ -0,0 +1,4 @@ +title: Introduction +sidebarRoot: true +navigation: + icon: tabler:brand-nextjs diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/1.index.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/1.index.md new file mode 100644 index 0000000000..f5c1060794 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/1.index.md @@ -0,0 +1,18 @@ +--- +title: Tooling and Concepts +layout: default +--- + +# Tooling and concepts + + +::card{title="Next: File-based inheritance" icon="tabler:number-1-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/file-based-inheritance"} +Start building +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/2.file-based-inheritance.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/2.file-based-inheritance.md new file mode 100644 index 0000000000..267d19df9f --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/2.file-based-inheritance.md @@ -0,0 +1,20 @@ +--- +title: File-based inheritance +layout: default +navigation: + icon: tabler:number-1-small +--- + +# File-based inheritance + + +::card{title="Next: Development - Managing the stores" icon="tabler:number-2-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/managing-the-stores"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/3.managing-the-stores.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/3.managing-the-stores.md new file mode 100644 index 0000000000..7adbb143d0 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/3.managing-the-stores.md @@ -0,0 +1,20 @@ +--- +title: Managing the stores +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Development - Managing the stores + + +::card{title="Next: Development - Using a local environment" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/local-environment"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/4.local-environment.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/4.local-environment.md new file mode 100644 index 0000000000..13047cb5cf --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/4.local-environment.md @@ -0,0 +1,20 @@ +--- +title: Using a local environment +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Development - Using a local environment + + +::card{title="Next: Development - Writing an integration tests with Playwright" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/integration-tests"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/5.integration-tests.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/5.integration-tests.md new file mode 100644 index 0000000000..c6e906e8b8 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/5.integration-tests.md @@ -0,0 +1,20 @@ +--- +title: Writing an integration tests with Playwright +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Development - Writing an integration tests with Playwright + + +::card{title="Next: Deployment - How it works?" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/deployment"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/_dir.yml b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/_dir.yml new file mode 100644 index 0000000000..9288da640d --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/3.development/_dir.yml @@ -0,0 +1,3 @@ +title: Development +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/6.deployment.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/6.deployment.md new file mode 100644 index 0000000000..c1fe18a703 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/6.deployment.md @@ -0,0 +1,20 @@ +--- +title: How it works? +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Deployment - How it works? + + +::card{title="Next: Deployment - Configuration" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/configuration"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/7.configuration.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/7.configuration.md new file mode 100644 index 0000000000..00e5d1b241 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/7.configuration.md @@ -0,0 +1,20 @@ +--- +title: Configuration +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Deployment - Configuration + + +::card{title="Next: Deployment - CI/CD" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/ci-cd"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/8.ci-cd.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/8.ci-cd.md new file mode 100644 index 0000000000..1af60c6540 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/8.ci-cd.md @@ -0,0 +1,20 @@ +--- +title: CI/CD +layout: default +navigation: + icon: tabler:number-2-small +--- + +# Deployment - CI/CD + + +::card{title="Next: CLI Reference" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/tooling-and-concepts/cli-reference"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/_dir.yml b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/_dir.yml new file mode 100644 index 0000000000..f7d92d9d9e --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/4.deployment/_dir.yml @@ -0,0 +1,3 @@ +title: Deployment +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/5.cli-reference.md b/docs/content/guides/6.multistore/2.tooling-and-concepts/5.cli-reference.md new file mode 100644 index 0000000000..13ab6fe8df --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/5.cli-reference.md @@ -0,0 +1,20 @@ +--- +title: CLI Reference +layout: default +navigation: + icon: tabler:number-2-small +--- + +# CLI Reference + + +::card{title="Next: Patterns" icon="tabler:number-3-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/patterns"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/2.tooling-and-concepts/_dir.yml b/docs/content/guides/6.multistore/2.tooling-and-concepts/_dir.yml new file mode 100644 index 0000000000..47138f2ac0 --- /dev/null +++ b/docs/content/guides/6.multistore/2.tooling-and-concepts/_dir.yml @@ -0,0 +1,4 @@ +title: Tooling and concepts +sidebarRoot: true +navigation: + icon: tabler:brand-react-native diff --git a/docs/content/guides/6.multistore/3.patterns/1.index.md b/docs/content/guides/6.multistore/3.patterns/1.index.md new file mode 100644 index 0000000000..78402c6217 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/1.index.md @@ -0,0 +1,20 @@ +--- +title: Patterns +layout: default +--- + +# Patterns + + +Let's get started! + +::card{title="Next: Design - Global styles per store" icon="tabler:number-1-small" } + +#description +TODO + +#cta +:::docs-button{to="/guides/multistore/patterns/global-styles-per-store"} +Next +::: +:: diff --git a/docs/content/guides/6.multistore/3.patterns/2.design/1.global-styles-per-store.md b/docs/content/guides/6.multistore/3.patterns/2.design/1.global-styles-per-store.md new file mode 100644 index 0000000000..535f73fbb2 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/2.design/1.global-styles-per-store.md @@ -0,0 +1,8 @@ +--- +title: Global styles per store +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Global styles per store. diff --git a/docs/content/guides/6.multistore/3.patterns/2.design/2.controlling-layout-with-cms.md b/docs/content/guides/6.multistore/3.patterns/2.design/2.controlling-layout-with-cms.md new file mode 100644 index 0000000000..17e112628b --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/2.design/2.controlling-layout-with-cms.md @@ -0,0 +1,8 @@ +--- +title: Controlling layout with CMS +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Controlling layout with CMS diff --git a/docs/content/guides/6.multistore/3.patterns/2.design/3.different-styles-per-component.md b/docs/content/guides/6.multistore/3.patterns/2.design/3.different-styles-per-component.md new file mode 100644 index 0000000000..3225c1eb1b --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/2.design/3.different-styles-per-component.md @@ -0,0 +1,8 @@ +--- +title: Different styles for individual components +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Different styles for individual components diff --git a/docs/content/guides/6.multistore/3.patterns/2.design/4.different-code-per-store.md b/docs/content/guides/6.multistore/3.patterns/2.design/4.different-code-per-store.md new file mode 100644 index 0000000000..09a21d458f --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/2.design/4.different-code-per-store.md @@ -0,0 +1,8 @@ +--- +title: Different markups for individual components +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Different markups for individual components diff --git a/docs/content/guides/6.multistore/3.patterns/2.design/_dir.yml b/docs/content/guides/6.multistore/3.patterns/2.design/_dir.yml new file mode 100644 index 0000000000..439d3defcc --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/2.design/_dir.yml @@ -0,0 +1,3 @@ +title: Design +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/3.patterns/3.data/1.different-config-same-integration.md b/docs/content/guides/6.multistore/3.patterns/3.data/1.different-config-same-integration.md new file mode 100644 index 0000000000..6de0d10665 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/3.data/1.different-config-same-integration.md @@ -0,0 +1,8 @@ +--- +title: Different configurations for the same integration +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Different configurations for the same integration diff --git a/docs/content/guides/6.multistore/3.patterns/3.data/2.different-integrations-per-store.md b/docs/content/guides/6.multistore/3.patterns/3.data/2.different-integrations-per-store.md new file mode 100644 index 0000000000..12d8bdff14 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/3.data/2.different-integrations-per-store.md @@ -0,0 +1,8 @@ +--- +title: Different integrations in each store +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Different integrations in each store diff --git a/docs/content/guides/6.multistore/3.patterns/3.data/_dir.yml b/docs/content/guides/6.multistore/3.patterns/3.data/_dir.yml new file mode 100644 index 0000000000..9b4bf97ddc --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/3.data/_dir.yml @@ -0,0 +1,3 @@ +title: Data +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/3.patterns/4.testing/1.override-playwright-config.md b/docs/content/guides/6.multistore/3.patterns/4.testing/1.override-playwright-config.md new file mode 100644 index 0000000000..5310351668 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/4.testing/1.override-playwright-config.md @@ -0,0 +1,8 @@ +--- +title: Override Playwright configurations for individual stores +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Override Playwright configurations for individual stores diff --git a/docs/content/guides/6.multistore/3.patterns/4.testing/2.replace-mocks.md b/docs/content/guides/6.multistore/3.patterns/4.testing/2.replace-mocks.md new file mode 100644 index 0000000000..430554a809 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/4.testing/2.replace-mocks.md @@ -0,0 +1,8 @@ +--- +title: Replace or extend mocked endpoints +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Replace or extend mocked endpoints diff --git a/docs/content/guides/6.multistore/3.patterns/4.testing/3.skip-modify-tests.md b/docs/content/guides/6.multistore/3.patterns/4.testing/3.skip-modify-tests.md new file mode 100644 index 0000000000..de83fc6875 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/4.testing/3.skip-modify-tests.md @@ -0,0 +1,8 @@ +--- +title: Skip specific tests or add new ones to the suite +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Skip specific tests or add new ones to the suite diff --git a/docs/content/guides/6.multistore/3.patterns/4.testing/4.tests-debugging.md b/docs/content/guides/6.multistore/3.patterns/4.testing/4.tests-debugging.md new file mode 100644 index 0000000000..646cf76a52 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/4.testing/4.tests-debugging.md @@ -0,0 +1,8 @@ +--- +title: Debugging issues during test execution +layout: default +navigation: + icon: tabler:number-1-small +--- + +# Debugging issues during test execution diff --git a/docs/content/guides/6.multistore/3.patterns/4.testing/_dir.yml b/docs/content/guides/6.multistore/3.patterns/4.testing/_dir.yml new file mode 100644 index 0000000000..df7b4dd76a --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/4.testing/_dir.yml @@ -0,0 +1,3 @@ +title: Testing +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/3.patterns/5.subpath/1.subpath-next.md b/docs/content/guides/6.multistore/3.patterns/5.subpath/1.subpath-next.md new file mode 100644 index 0000000000..409b22eec4 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/5.subpath/1.subpath-next.md @@ -0,0 +1,8 @@ +--- +title: How to make sub-path routing on Next +layout: default +navigation: + icon: tabler:number-1-small +--- + +# How to make sub-path routing on Next diff --git a/docs/content/guides/6.multistore/3.patterns/5.subpath/2.subpath-nuxt.md b/docs/content/guides/6.multistore/3.patterns/5.subpath/2.subpath-nuxt.md new file mode 100644 index 0000000000..2c864d8c6b --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/5.subpath/2.subpath-nuxt.md @@ -0,0 +1,8 @@ +--- +title: How to make sub-path routing on Nuxt +layout: default +navigation: + icon: tabler:number-1-small +--- + +# How to make sub-path routing on Nuxt diff --git a/docs/content/guides/6.multistore/3.patterns/5.subpath/3.subpath-middleware.md b/docs/content/guides/6.multistore/3.patterns/5.subpath/3.subpath-middleware.md new file mode 100644 index 0000000000..ee0e896ef3 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/5.subpath/3.subpath-middleware.md @@ -0,0 +1,8 @@ +--- +title: How to make sub-path routing on Middleware +layout: default +navigation: + icon: tabler:number-1-small +--- + +# How to make sub-path routing on Middleware diff --git a/docs/content/guides/6.multistore/3.patterns/5.subpath/4.subpath-mixed.md b/docs/content/guides/6.multistore/3.patterns/5.subpath/4.subpath-mixed.md new file mode 100644 index 0000000000..003313dad1 --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/5.subpath/4.subpath-mixed.md @@ -0,0 +1,8 @@ +--- +title: How to make mixed solution with domain and sub-path routing +layout: default +navigation: + icon: tabler:number-1-small +--- + +# How to make mixed solution with domain and sub-path routing diff --git a/docs/content/guides/6.multistore/3.patterns/5.subpath/_dir.yml b/docs/content/guides/6.multistore/3.patterns/5.subpath/_dir.yml new file mode 100644 index 0000000000..de2b8bd3cf --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/5.subpath/_dir.yml @@ -0,0 +1,3 @@ +title: Subpath Routing +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/3.patterns/_dir.yml b/docs/content/guides/6.multistore/3.patterns/_dir.yml new file mode 100644 index 0000000000..cfc737505a --- /dev/null +++ b/docs/content/guides/6.multistore/3.patterns/_dir.yml @@ -0,0 +1,4 @@ +title: Patterns +sidebarRoot: true +navigation: + icon: tabler:brand-nuxt diff --git a/docs/content/guides/6.multistore/_dir.yml b/docs/content/guides/6.multistore/_dir.yml new file mode 100644 index 0000000000..f14d6b3436 --- /dev/null +++ b/docs/content/guides/6.multistore/_dir.yml @@ -0,0 +1,4 @@ +title: Multistore +sidebarRoot: true +navigation: + icon: tabler:123