Skip to content
A straight-forward starting point for building a great website on the HubSpot CMS
CSS HTML JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
bin
src
.eslintrc.js
.gitignore
.prettierignore
LICENSE
README.md
package.json
prettier.config.js
yarn.lock

README.md

HubSpot CMS Boilerplate

A straight-forward starting point for building a great website on the HubSpot CMS.

⚠️ This is a BETA release that uses some HubSpot features that are not available to all customer portals. If you would like to try out all the functionality of the boilerplate, please go to the developer beta signup to request that the beta features be enabled for your portal. Please refer to the HubSpot Developer Beta Terms ⚠️

Getting started

The HubSpot CMS boilerplate is designed to work with both local development and the HubSpot Design Tools. To get started, you will need to have Node.js installed. When getting started, we strongly suggest that you set up a HubSpot CMS Developer Sandbox.

  1. Navigate to the directory that you want to use for your project
  2. Run npx @hubspot/create-cms-project <directory> to create a project from the boilerplate
  3. Create a hubspot.config.yml file and configure the CLI so that you can upload files to the HubSpot portals that you use
  4. Run npx hscms watch --portal=<portal> src <directory> to upload all the files in the boilerplate and watch for changes to files in the src directory

To learn more about the HubSpot CMS, visit designers.hubspot.com and explore the documentation.

You can’t perform that action at this time.