We.Publish
  • Willkommen bei We.Publish
  • Publisher-Dokumentation
    • Features
    • Get Started
      • Datenschutz-Seite
      • Onboarding
    • Editor
      • Vorschau von Artikeln und Seiten
      • Blöcke
      • Banner
      • Navigation & Logo
      • Login & Registration
      • SEO optimieren
    • Peering (Artikel-Sharing)
    • Abos & Audience
      • Beispiele für Mailtemplates
      • Abonennt:innen zurückgewinnen
    • Crowdfunding
    • IOS- und Android-Apps
      • Push-Benachrichtigungen mit OneSignal
    • Hosting
    • Plugins und Integrationen
      • Mailchimp
      • ProLitteris
  • We.Publish-Academy
    • Was ist die We.Publish-Academy?
  • Developers
    • Get Started
    • Website Builder
      • Use Storybook to craft and test beautiful components
      • Writing Tests
    • API
      • Database with Prisma
      • Writing Tests
      • Challenge
        • Turnstile
    • Editor
      • Writing Tests
    • Cookbook
      • Writing Tests
    • Specs & Info for Designers
    • Breaking Changes
Powered by GitBook
On this page
  1. Developers
  2. Website Builder

Use Storybook to craft and test beautiful components

Add a story in libs/<your-lib>/website/src/lib/<your-component>.stories.tsx. Running the command npx nx storybook website will display an interface where your component is displayed, making it easy to test the different possibilities of rendering it without needing to place it on a website.

PreviousWebsite BuilderNextWriting Tests

Last updated 1 month ago