HubSpot Custom Module Boilerplate Code Snippet


HubSpot Custom Module Boilerplate Code Snippet

Below is a some boilerplate code to use when creating a custom module inside HubSpot CMS.

<div class="module-class" id="{{name}}">
  <div class="row-fluid">

  </div>  
</div>

{% require_css %}
<style>
  {% scope_css %}
  {% end_scope_css %}
  
</style>
{% end_require_css %}

{% require_js %}
<script>
window.addEventListener("load", (event) => {

});
</script>
{% end_require_js %}

Written by: Jake Lett
I share digital marketing tips and HubSpot tutorials to help marketers and business owners grow their business.

Related posts

Tags: ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter