• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Marketing that's efficient and human? That's Loop Marketing.

    Explore HubSpot Academy's 39-video playlist and put it into practice.

    Start learning

Using web components for asset development

_aureliocampos
Participant

Hello everyone, I'm working on a theme that I'll list in the hubspot marketplace in the future, but I still have a question, can I use my web components library that I created myself, which is on a cdn of its own in my theme or is this not allowed?

0 Upvotes
2 Accepted solutions
albertsg
Solution
Key Advisor

Hello @_aureliocampos, is your components library created for HubSpot (using HubL, the correct module format, etc)? 
I don't think you can import some modules in a different format and use them in your theme, you will need to somehow adapt them to HubSpot.

But if you already have them created somewhere else, I believe moving them to HubSpot and addapting them won't be a big issue for you 🙂

View solution in original post

albertsg
Solution
Key Advisor

@_aureliocampos happy to hear it works great! Regarding the use of your library into a theme, I guess only someone from HubSpot can reply to this (maybe it's better to contact them via email) but I guess if it's fully developed by you then it should be fine 🙂

View solution in original post

4 Replies 4
albertsg
Solution
Key Advisor

Hello @_aureliocampos, is your components library created for HubSpot (using HubL, the correct module format, etc)? 
I don't think you can import some modules in a different format and use them in your theme, you will need to somehow adapt them to HubSpot.

But if you already have them created somewhere else, I believe moving them to HubSpot and addapting them won't be a big issue for you 🙂

_aureliocampos
Participant


Thanks for the answer @albertsg.
It's a library made with lit, actually it's more of a design system than a library of its own, and as it's used as HTML, I've already tested it and it works very well on hubspot, I just want to make sure that it's possible to use -there as part of my theme that I intend to list in the marketplace
 

0 Upvotes
albertsg
Solution
Key Advisor

@_aureliocampos happy to hear it works great! Regarding the use of your library into a theme, I guess only someone from HubSpot can reply to this (maybe it's better to contact them via email) but I guess if it's fully developed by you then it should be fine 🙂

_aureliocampos
Participant

Thank you so much for the clarification @albertsg.
Yes, fully developed by me
But I will follow your advice and make contact by email.

0 Upvotes