Jumpstart your HubSpot theme development with this Tailwind CSS and Webpack starter project.
Run pnpm i
or npm install
to install project dependencies.
start
: Builds the project with Webpack, uploads to your specifieddefaultPortal
inhubspot.config.yml
, and watches for changes using π@hubspot/webpack-cms-plugins/HubSpotAutoUploadPlugin
.build
: Clears/dist
contents, then builds the project into/dist
.deploy
: Clears/dist
contents, builds the project into/dist
, and uploads it via π@hubspot/cms-cli
.upload
: Uploads the contents of/dist
to yourdefaultPortal
specified inhubspot.config.yml
.
- Run
pnpm hs init
to initialize the HubSpot project. - Start the development server with
pnpm start
.
Follow the instructions in the HubSpot documentation to create a website page.
This project leverages Tailwind CSS for styling. Explore and modify the configuration in tailwind.config.js
. Customize your styles in src/css/styles.css
.
Feel free to contribute, open issues, or submit pull requests. Happy coding! π