mnzsss / hubspot-theme-tailwind-template

πŸš€ HubSpot Theme Starter with Tailwind CSS and Webpack Auto Upload

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HubSpot Tailwind CSS Starter

HubSpot Tailwind CSS Starter πŸš€

Jumpstart your HubSpot theme development with this Tailwind CSS and Webpack starter project.

Installation

Run pnpm i or npm install to install project dependencies.

Scripts

  • start: Builds the project with Webpack, uploads to your specified defaultPortal in hubspot.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 your defaultPortal specified in hubspot.config.yml.

Development

  1. Run pnpm hs init to initialize the HubSpot project.
  2. Start the development server with pnpm start.

Follow the instructions in the HubSpot documentation to create a website page.

Tailwind CSS

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! πŸŽ‰

About

πŸš€ HubSpot Theme Starter with Tailwind CSS and Webpack Auto Upload


Languages

Language:HTML 70.1%Language:JavaScript 26.5%Language:CSS 3.4%