{"repo":"montalvomiguelo/hydrogen-theme","free":true,"listed":false,"github":"https://github.com/montalvomiguelo/hydrogen-theme","clone":"git clone https://github.com/montalvomiguelo/hydrogen-theme.git","description":"A port of Hydrogen's default template to Shopify OS 2.0","language":"Liquid","stars":181,"topics":["liquid","shopify","shopify-theme","vite","islands","tailwindcss","hydrogen"],"license":"MIT","category":"ecommerce","readme_excerpt":"Hydrogen Theme A port of Hydrogen's default template to Shopify OS 2.0. 🔨 Requirements - Node.js (latest LTS version) - pnpm - Shopify CLI 🚀 Project Structure This theme leverages the default Shopify theme folder structure and introduces the following directories, some of which have special behaviors. Subdirectory Description :------------ :------------------------------------ entrypoints The entry points for your theme islands The interactive islands in your theme lib Theme specific libraries styles The styles of your theme 🧞 Commands Command Action :---------------------------------- :---------------------------------------------------------------------- pnpm install Installs dependencies pnpm dev -- --store johns-apparel Launch the Shopify and Vite servers in parallel pnpm run deploy Bundle your theme's assets and upload your local theme files to Shopify 🏝️ Hydration Directives The following hydration strategies are available (borrowed from Astro). Directive Description :--------------- :------------------------------------------------------------------------------------------------------------------------------------------------ client:idle Hydrate the component as soon as the main thread is free client:visible Hydrates the component as soon as the element enters the viewport client:media Hydrates the component as soon as the browser matches the given media query Usage: 🙇‍♂️ Thanks We would like to specifically thank the following projects for the inspiration and hel","default_branch":null,"files":null,"tree":[],"storefront":"/r/montalvomiguelo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/montalvomiguelo/hydrogen-theme/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}