Skip to content

Commit 157a6e5

Browse files
author
FalkWolsky
committed
Update External Library Import Modal with Docs about UDP
1 parent d905ccb commit 157a6e5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

client/packages/lowcoder/src/components/JSLibraryModal.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ export function JSLibraryModal(props: JSLibraryModalProps) {
341341
</JSLibraryRecommends>
342342
</>
343343
)}
344+
345+
<HelpText>{trans("preLoad.externalLibsHelperText")}</HelpText>
346+
344347
</CustomModal>
345348
</div>
346349
);

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,6 +2877,7 @@ export const en = {
28772877
"jsLibraryHelpText": "Add JavaScript Libraries to Your Current Application via URL Addresses. lodash, day.js, uuid, numbro are Built into the System for Immediate Use. JavaScript Libraries are Loaded Before the Application is Initialized, Which Can Have an Impact on Application Performance.",
28782878
"exportedAs": "Exported As",
28792879
"urlTooltip": "URL Address of the JavaScript Library, [unpkg.com](https://unpkg.com/) or [jsdelivr.net](https://www.jsdelivr.com/) is Recommended",
2880+
"externalLibsHelperText" : "Only libraries using the UMD (Universal Module Definition) approach are supported. Read more here: https://github.com/umdjs/umd",
28802881
"recommended": "Recommended",
28812882
"viewJSLibraryDocument": "Document",
28822883
"jsLibraryURLError": "Invalid URL",

0 commit comments

Comments
 (0)