Skip to content

Commit

Permalink
Merge branch 'master' into fix/oryx-presets
Browse files Browse the repository at this point in the history
  • Loading branch information
andriitserkovnyi authored Jan 2, 2024
2 parents 5f01d18 + 50c0e8b commit 4ec487c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import { provideExperienceData } from "@spryker-oryx/experience";
import { customPage } from "./custom/page";

export const app = appBuilder()
.withProviders(provideExperienceData(customData))
.withProviders([provideExperienceData(customData)])
.create();
```

Expand Down Expand Up @@ -132,15 +132,15 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "#home-page",
},
type: "oryx-content-text",
content: { data: { text: "<h1>Home page</h1>" } },
})
)
])
.create();
```

Expand All @@ -165,7 +165,7 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "site-logo",
Expand All @@ -179,7 +179,7 @@ export const app = appBuilder()
},
},
})
)
])
.create();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const routes = [
{ path: '/example/:id', render: ({ id }) => html`<my-example-page id=${id}></my-example-page>` },
];

appBuilder().withProviders(provideLitRoutes({ routes }));
appBuilder().withProviders([provideLitRoutes({ routes })]);
```
{% info_block infoBox %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import { provideExperienceData } from "@spryker-oryx/experience";
import { customPage } from "./custom/page";

export const app = appBuilder()
.withProviders(provideExperienceData(customData))
.withProviders([provideExperienceData(customData)])
.create();
```

Expand Down Expand Up @@ -132,15 +132,15 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "#home-page",
},
type: "oryx-content-text",
content: { data: { text: "<h1>Home page</h1>" } },
})
)
])
.create();
```

Expand All @@ -165,7 +165,7 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "site-logo",
Expand All @@ -179,7 +179,7 @@ export const app = appBuilder()
},
},
})
)
])
.create();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const routes = [
{ path: '/example/:id', render: ({ id }) => html`<my-example-page id=${id}></my-example-page>` },
];

appBuilder().withProviders(provideLitRoutes({ routes }));
appBuilder().withProviders([provideLitRoutes({ routes })]);
```
{% info_block infoBox %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import { provideExperienceData } from "@spryker-oryx/experience";
import { customPage } from "./custom/page";

export const app = appBuilder()
.withProviders(provideExperienceData(customData))
.withProviders([provideExperienceData(customData)])
.create();
```

Expand Down Expand Up @@ -132,15 +132,15 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "#home-page",
},
type: "oryx-content-text",
content: { data: { text: "<h1>Home page</h1>" } },
})
)
])
.create();
```

Expand All @@ -165,7 +165,7 @@ import { appBuilder } from "@spryker-oryx/application";
import { provideExperienceData } from "@spryker-oryx/experience";

export const app = appBuilder()
.withProviders(
.withProviders([
provideExperienceData({
merge: {
selector: "site-logo",
Expand All @@ -179,7 +179,7 @@ export const app = appBuilder()
},
},
})
)
])
.create();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const routes = [
{ path: '/example/:id', render: ({ id }) => html`<my-example-page id=${id}></my-example-page>` },
];

appBuilder().withProviders(provideLitRoutes({ routes }));
appBuilder().withProviders([provideLitRoutes({ routes })]);
```
{% info_block infoBox %}

Expand Down

0 comments on commit 4ec487c

Please sign in to comment.