{"id":15037,"date":"2025-01-31T10:13:59","date_gmt":"2025-01-31T10:13:59","guid":{"rendered":"https:\/\/www.bay20.com\/?p=15037"},"modified":"2025-09-24T15:28:00","modified_gmt":"2025-09-24T09:43:00","slug":"anleitung-zum-einsatz-von-shopware-kompatiblen-frontend-mit-vercel","status":"publish","type":"post","link":"https:\/\/www.bay20.com\/de\/anleitung-zum-einsatz-von-shopware-kompatiblen-frontend-mit-vercel\/","title":{"rendered":"Wie stellt man Shopware Composable Frontend mit Vercel bereit?"},"content":{"rendered":"\n<p>Composable Frontend ist ein moderner Ansatz zum Aufbau schneller und skalierbarer eCommerce-Storefronts in Shopware. Mit Vercel k\u00f6nnen Sie die Vorteile des effizienten Hostings und der CI\/CD-Funktionen von Vercel nutzen, wenn Sie Composable Frontend mit Vercel einsetzen. Folgen Sie einer Schritt-f\u00fcr-Schritt-Anleitung, um Ihr Shopware Composable Frontend auf Vercel zum Laufen zu bringen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Voraussetzungen<\/h2>\n\n\n\n<p>Bevor Sie beginnen, vergewissern Sie sich, dass Sie die folgenden Informationen haben:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Eine Shopware 6-Instanz einrichten<\/li><li>Node.js (Version 16 oder h\u00f6her) installiert<\/li><li>Git installiert und konfiguriert<\/li><li>Ein Vercel-Konto<\/li><li>Shopware PWA (Composable Frontend) lokal installiert<\/li><\/ul>\n\n\n\n<p><strong>Schritt 1: Klonen des Shopware Composable Frontend Repository<\/strong><\/p>\n\n\n\n<p>Stellen Sie sicher, dass Sie das Composable Frontend installiert haben, falls Sie dies noch nicht getan haben. Sie m\u00fcssen entweder das offizielle Repository klonen oder der \u201c<a href=\"https:\/\/www.bay20.com\/de\/?s=Wie+richtet+man+das+Composable+Frontend+f%C3%BCr+Shopware+6+ein%3F\">Lokale Installation von Composable Storefront<\/a>\u201d Blog. Danach gehen Sie in den Vorlagenordner.<\/p>\n\n\n\n<p><strong>Schritt 2<\/strong>: <strong>Abh\u00e4ngigkeiten installieren<\/strong><\/p>\n\n\n\n<p>F\u00fchren Sie den folgenden Befehl aus, um die erforderlichen Abh\u00e4ngigkeiten zu installieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"164\" class=\"wp-image-15003\" style=\"width: 1000px\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2025\/01\/Screenshot-7.png\" alt=\"\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7.png 1366w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7-300x36.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7-800x96.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7-980x118.png 980w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7-768x92.png 768w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-7-1000x120.png 1000w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/code><\/pre>\n\n\n\n<p><strong>Schritt 3:<\/strong> Umgebungsvariablen konfigurieren<\/p>\n\n\n\n<p>Erstellen Sie eine .env-Datei im Stammverzeichnis Ihres Projekts und f\u00fcgen Sie Ihre Shopware-API-Anmeldedaten hinzu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SHOPWARE_API_URL=https:\/\/your-shopware-instance.com\nSHOPWARE_ACCESS_KEY=your-access-key<\/code><\/pre>\n\n\n\n<p><strong>Schritt 4: Lokaler Test<\/strong><\/p>\n\n\n\n<p>Vergewissern Sie sich, dass alles korrekt funktioniert, bevor Sie es einsetzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"164\" class=\"wp-image-15004\" style=\"width: 1000px\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2025\/01\/Screenshot-8.png\" alt=\"\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8.png 1366w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8-300x36.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8-800x96.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8-980x118.png 980w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8-768x92.png 768w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/Screenshot-8-1000x120.png 1000w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/code><\/pre>\n\n\n\n<p>Besuchen Sie <code>http:\/\/localhost:3000<\/code> um zu \u00fcberpr\u00fcfen, ob das Frontend ordnungsgem\u00e4\u00df l\u00e4uft.<\/p>\n\n\n\n<p><strong>Schritt 5: Code auf GitHub ver\u00f6ffentlichen<\/strong><\/p>\n\n\n\n<p>Initialisieren Sie ein Git-Repository und stellen Sie Ihren Code auf GitHub ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git init\ngit add .\ngit commit -m \"Initial commit\"\ngit branch -M main\ngit remote add origin https:\/\/github.com\/your-username\/composable-frontend.git\ngit push -u origin main<\/code><\/pre>\n\n\n\n<p>Schritt 6: Bereitstellung in Vercel<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Anmelden bei <a href=\"https:\/\/vercel.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Vercel<\/a> und klicken Sie auf <strong>Neues Projekt.<\/strong><\/li><li>Importieren Sie Ihr GitHub-Repository.<\/li><li>Konfigurieren Sie die Umgebungsvariablen in Vercel:<br><code>SHOPWARE_API_URL<\/code><br><code>SHOPWARE_ACCESS_KEY<\/code><br><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"281\" class=\"wp-image-15045\" style=\"width: 1000px\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2025\/01\/New-Project-\u2013-Vercel-01-29-2025_07_23_PM.png\" alt=\"\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/New-Project-\u2013-Vercel-01-29-2025_07_23_PM.png 643w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2025\/01\/New-Project-\u2013-Vercel-01-29-2025_07_23_PM-300x131.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/li><\/ul>\n\n\n\n<p><strong>Schritt 7: Verifizierung des Einsatzes<\/strong><\/p>\n\n\n\n<p>Nach der Bereitstellung erhalten Sie von Vercel eine Live-URL. \u00d6ffnen Sie die URL, um zu \u00fcberpr\u00fcfen, ob Ihr Shopware Composable Frontend korrekt funktioniert.<\/p>\n\n\n\n<p><strong>Schritt 8: Automatische Bereitstellungen aktivieren (optional)<\/strong><\/p>\n\n\n\n<p>So aktivieren Sie die automatische Bereitstellung f\u00fcr k\u00fcnftige Updates:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Pushen Sie die \u00c4nderungen in Ihr GitHub-Repository, und Vercel wird Ihr Projekt automatisch neu bereitstellen.<\/li><\/ul>\n\n\n\n<p><strong><strong>Bitte kontaktieren Sie uns unter&nbsp;<\/strong><a href=\"mailto:manish@bay20.com\" target=\"_blank\" rel=\"noreferrer noopener\">manish@bay20.com<\/a>&nbsp;oder rufen Sie uns an unter&nbsp;<a href=\"https:\/\/api.whatsapp.com\/send?phone=+918800519180&amp;text=Hi,%20I%20contacted%20you%20through%20your%20website.\" target=\"_blank\" rel=\"noreferrer noopener\">+91-8800519180<\/a>&nbsp;\/&nbsp;<a href=\"https:\/\/api.whatsapp.com\/send?phone=919582784309\" target=\"_blank\" rel=\"noreferrer noopener\">+91-9582784309<\/a><\/strong>&nbsp;<strong>f\u00fcr jegliche Unterst\u00fctzung im Zusammenhang mit Shopware. Sie k\u00f6nnen auch die&nbsp;<a href=\"\/de\/shopware-entwicklungsunternehmen\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"\">Shopware-Entwicklungsseite<\/a>&nbsp;um unsere Dienstleistungen zu \u00fcberpr\u00fcfen.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Composable Frontend ist ein moderner Ansatz zum Aufbau schneller und skalierbarer eCommerce-Storefronts in Shopware. Mit Vercel k\u00f6nnen Sie die Vorteile des effizienten Hostings und der CI\/CD-Funktionen von Vercel nutzen, wenn Sie Composable Frontend mit Vercel einsetzen. Folgen Sie einer Schritt-f\u00fcr-Schritt-Anleitung, um Ihr Shopware Composable Frontend auf Vercel zum Laufen zu bringen. Voraussetzungen Bevor Sie beginnen, [&hellip;]<\/p>\n","protected":false},"author":120,"featured_media":15108,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[168,31,78,115,169],"tags":[],"class_list":["post-15037","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-composable-storefront","category-ecommerce","category-shopware","category-shopware-6","category-vercel"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/15037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/comments?post=15037"}],"version-history":[{"count":17,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/15037\/revisions"}],"predecessor-version":[{"id":16998,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/15037\/revisions\/16998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/media\/15108"}],"wp:attachment":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/media?parent=15037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/categories?post=15037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/tags?post=15037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}