hubspot-tailwind icon indicating copy to clipboard operation
hubspot-tailwind copied to clipboard

Starter project for building HubSpot themes with Tailwind CSS and Webpack.

Hubspot Tailwind CSS Starter

Starter project for building HubSpot themes with Tailwind CSS and Webpack.

Install

Run yarn or npm install to install dependencies

Scripts

  • start : Builds project with webpack, uploads to your defaultPortal specified in hubspot.config.yml and watches for changes via @hubspot/webpack-cms-plugins/HubSpotAutoUploadPlugin.
  • build : Clears /dist contents and builds project into /dist.
  • deploy : Clears /dist contents, builds project into /dist, and uploads to via @hubspot/cms-cli.
  • upload: Uploads the /dist contents to your defaultPortal specified in hubspot.config.yml.