1.0.0 • Published 2 years ago
9amhealth-hubspot-theme v1.0.0
How it Works
Development
yarn
yarn hs:init # Generates the HubSpot .yml file necessary for authentication
yarn dev # Starts Webpack
yarn deploy:develop # Bundles and deploys the assets to development
Production
yarn deploy # Bundles and deploys the assets to production
File Structure
├── src
│ ├── assets
│ │ ├── fonts # Fonts imported into CSS as asset/inline
│ │ └── images # Images copied into dist as asset/resource
│ ├── css
│ │ ├── fonts.css
│ │ └── main.css # Manages dependency stylesheets
│ ├── js
│ │ ├── main.ts # Manages dependency scripts
│ │ └── globals.ts
│ ├── modules # HubSpot modules
│ ├── templates # HubSpot templates/partials
│ ├── fields.json # HubSpot globals
│ └── theme.json # HubSpot theme configuration
├── dist # What is uploaded to HubSpot
├── node_modules
├── package.json
├── README.md
├── tsconfig.json
├── webpack.config.js
├── yarn.lock
└── .gitignore
1.0.0
2 years ago