You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Openblocks supports setting up preloaded JavaScript and libraries which can be **app-level** or **workspace-level**.
19
+
Openblocks supports setting up preloaded JavaScript and libraries which can be at **app-level** or **workspace-level**.
20
20
21
21
***App-level** libraries **** get loaded only in the app where defined. Plus, app A cannot use libraries that are set up for app B.
22
22
***Workspace-level** libraries **** will be loaded when you open any application in your workspace. All the apps can access those libraries. There can be a certain impact on app performance, especially when you have complex JavaScript functions that aren't being used in every app.
@@ -57,35 +57,29 @@ Openblocks supports setting up preloaded JavaScript and libraries which can be *
Now let's take [<markstyle="color:blue;">**cowsay**</mark>](https://github.com/piuccio/cowsay) as an example and import it on app-level and workspace-level.
60
+
Now let's take **cowsay** as an example and import it at app-level and workspace-level.
Navigate to the settings page and then click the plus sign **+** under the **JavaScript library** tab. Paste the **cowsay** link and click **Add New**. You can also click the download icon to quickly download any recommended JS library.
70
68
71
-
Navigate to the left sidebar, click <imgsrc="../.gitbook/assets/image (1).png"alt=""data-size="line"> > **Other** > **Scripts and style** > **Add a library**. Then paste the **cowsay** link here.
Go to [Opneblocks homepage](https://cloud.openblocks.dev/), select **Settings** > **Advanced**, and then click **Add** under the **JavaScript library** tab. Paste the link of the third-party JS library and click **Add New** to add it to your workspace. You can also click the download icon to quickly add any recommended JS library. The installed libraries are accessible from any app within your workspace.
86
84
87
-
### Import on Workspace-level
88
-
89
-
On Openblocks homepage, go to **Settings** > **Advanced** > **JavaScript library**. Click **+ Add a library**, paste the **cowsay** link here and click **Save**. Then you can use **cowsay** library **** in any app of your workspace.
0 commit comments