Before uploading, confirm the user has Drupal Canvas CLI installed and configured for their target site.
When component work is complete and validated, ask the user if they would like to upload the modified components to Canvas. Make sure to use the right package manager. For example, if using npm, run the following command:
Replace component1,component2,component3 with the actual component names that were created or modified (e.g., canvas upload -c button,card,hero).
Laden Sie validierte Komponenten auf Drupal Canvas hoch und beheben Sie häufige Upload-Fehler. Verwendung nach Abschluss und Validierung der Komponentenarbeiten. Behandelt Upload-Fehler, einschließlich abhängigkeitsbezogener Probleme, die einen erneuten Versuch erfordern. Quelle: acquia/nebula.