🎧️ Mining Dwarves 💖
Lauren Kulwicki
(ex) Senior Community Manager Posts: 196 🪐 - Explorer
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
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random