Now we can load the content of the import via JavaScript (1), search for the element from the import we would like to use (2) and insert it into our HTML file (here directly in the body element) (3).
Jetzt können wir den Inhalt des Imports über JavaScript laden (1), das Element aus dem Import suchen, das wir gerne nutzen möchten (2) und in unsere HTML-Datei (hier direkt im body-Element) einfügen (3).
Use the Script tab to specify advanced import settings using JavaScript.
Verwenden Sie die Registerkarte Skript , um erweiterte Importeinstellungen mithilfe von JavaScript anzugeben.
This allows to easily implement and import any parts of the code as regular JavaScript objects.
Dies ermöglicht das einfache Implementieren und den unkomplizierten Import der Code-Teile als regulärer JavaScript-Objekte.
The final import function can be used in JavaScript in the following manner
Die fertige Importfunktion steht in JavaScript wie folgt zur Verfügung
It saves your time by offering you a large base of ready tools, interface templates, icon gallery, import of group addresses and JavaScript editor.
Sparen Sie Zeit, indem Sie eine große Vielfalt an fertigen Tools, Oberflächenvorlagen, Symbolgalerie, Import von Gruppenadressen und JavaScript-Editor verwenden.
In this post I want to share the rollup config that I used to import nearly any npm module in to a frontend project using JavaScript modules.
In diesem Post möchte ich die 'Rollup'-Konfiguration teilen, die ich verwendet habe, um fast jedes npm-Modul in ein Frontend-Projekt mit JavaScript-Modulen zu importieren.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.