barrel / shopify-vite

Modern frontend tooling for Shopify theme development using Vite for a best-in-class DX.
https://shopify-vite.barrelny.com/
MIT License
287 stars 45 forks source link

Tunnel support via `@shopify/plugin-cloudflare` #154

Closed montalvomiguelo closed 6 days ago

montalvomiguelo commented 1 month ago

Fixes #152

Enables the creation of Cloudflare Quick Tunnels during dev, allowing previews from any device.

🚀 Snapshot: vite-plugin-shopify@0.0.0-snapshot-202410261610

https://github.com/user-attachments/assets/15128fe8-cceb-49bf-a09f-90c944cb17fc

netlify[bot] commented 1 month ago

Deploy Preview for bespoke-flan-5eacfc canceled.

Name Link
Latest commit 7c7fdc4abe63c4e1206773771da7d13ba4391a0e
Latest deploy log https://app.netlify.com/sites/bespoke-flan-5eacfc/deploys/671d61906e5ae400082eb215
tuanpham-barrel commented 2 weeks ago

@montalvomiguelo @wturnerharris - This looks good to me. Only one thing, when I run 2 tasks vite dev and shopify theme dev in parallel, the tunnel message displays as the the last message. This is confusing because I don't know if this is for vite or shopify preview. I think we can update the message to something clearer like "http://localhost:5173 is tunneled to https://xyz.trycloudflare.com"

2024-10-24_14-56

montalvomiguelo commented 2 weeks ago

updated

Screenshot 2024-10-26 at 3 17 47 PM
montalvomiguelo commented 6 days ago

@wturnerharris let's ship this? 🚀