🎧️ Mining Dwarves 💖

Lauren Kulwicki
Senior Community Manager Sprykee Posts: 147 ⚖️ - Guardians (admin)
Thread for Team "Mining Dwarves" to discuss and post their results/slides ⬇️
Members:
- @kasalgado
- Tim Körtgen
- @David Wischner
- @hardik.gajjar
Tagged:
1
Comments
-
Few Oryx in 90 videos, also to customize components:
An example to build a custom component:
Step 1: Create componentCreate definition
Put the definition in
/pie/pie.def.ts
import { componentDef } from "@spryker-oryx/utilities"; export const pieComponent = componentDef({ name: "oryx-pie", impl: () => import("./pie.component.js").then((m) => m.PieComponent), });
Create implementation
Put the implementation in
/pie/pie.component.ts
import { LitElement, html } from "lit"; export class PieComponent extends LitElement { render() { return html`pie...`; } }
Provide component definition in app bootstrap
The application doesn't know about the component, lets provide it:
export const app = appBuilder() .withComponents([pieComponent])
Step 2: Register component inside the experience data
We add the
<oryx-pie>
component after the home hero component.export const app = appBuilder() … .withProviders([ provideExperienceData({ merge: { selector: "home-hero", type: "after", }, type: "oryx-pie", }), ])
2
Categories
- All Categories
- 38 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 32 Spryker News
- 534 Developer Corner
- 405 Spryker Development
- 54 Spryker Dev Environment
- 272 Spryker Releases
- 30 Propel ORM
- 46 Community Projects
- 6 Gacela Project
- 3 PHP Bridge
- 21 Hackathon
- 3.2K 📜 Slack Archives
- 115 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random
- 4 Code Testing
- 23 Product & Business Questions
- 40 Spryker Safari Questions
- 35 The Blackhole