HubSpot CMS Boilerplate
A straight-forward starting point for building a great website on the HubSpot CMS.
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.
- Navigate to the directory that you want to use for your project
npx @hubspot/create-cms-project <directory>to create a project from the boilerplate
- Create a
hubspot.config.ymlfile and configure the CLI so that you can upload files to the HubSpot portals that you use
npx hscms watch --portal=<portal> src <directory>to upload all the files in the boilerplate and watch for changes to files in the
To learn more about the HubSpot CMS, visit designers.hubspot.com and explore the documentation.