Skip to content

Webmate StudioComponent Development

HTML-first Components mit Tailwind CSS und Islands Architecture

Schnellbeispiel

bash
wm init my-components
cd my-components
wm dev

Component erstellen:

bash
wm generate
html
<div class="p-6 bg-white rounded-lg shadow-md">
  <h2 class="text-2xl font-bold mb-4">{{title}}</h2>
  <p class="text-gray-600">{{description}}</p>

  <div wm:if="showButton">
    <button class="px-6 py-3 bg-primary text-white rounded-lg">
      {{buttonText}}
    </button>
  </div>
</div>

Workflow

bash
wm generate   # Component erstellen
wm dev        # Preview (localhost:5173)
wm login      # Mit CMS verbinden
wm push       # Build + Upload + Versionierung

Zum Schnellstart →

Webmate Studio Component Development Dokumentation