Go back to 8base Academy
September 8, 2022

Using 3rd Party Libraries in App Builder

8base
@8base

Sebastian (00:03)
Hey there. My name is Sebastian, and in this video, we're going to look at some of the libraries that you have access to, and can add to your app builder projects.

Sebastian (00:09)
If you go into the settings of your app builder project, and click on the libraries tab, you're going to see about four different libraries that you have the ability to add to your project. We're working on allowing you to import any third party library, but currently you can choose between Lodash, Luxon, Math.js, and Moment.js. All of these have links to their documentation, so you can understand a little bit more about the utility that each one serves.

Sebastian (00:36)
However, let's say that you want to add one of these to your project. First off, what you can do is, if you want to use an alias other than the default one provided by the library, you can. I like to just specify it deliberately. So here for Lodash, we're going to use the underscore, and then you can choose a version number from the past three most recent versions, and I'm going to go ahead and click add.

Sebastian (00:58)
So now that that's added to my project, let's say I wanted to go offer a new function to use my project, if I go inside of here and I click the underscore, we can see that I have access to all the different low dash methods that are imported with that library. For example, if we wanted to use the add function here, we could say, one and then one, and that would add those two numbers.

Sebastian (01:24)
I hope that you found this video helpful in understanding how you can import some of those packages that we give you access to in the app builder. Be on the lookout in the upcoming months for the ability to import any library via CDN and looking forward to speaking to you in future videos.

Share this post on social media!

Ready to try 8base?

We're excited about helping you achieve amazing results.