Svelte Commerce
A standalone open-source storefront built with SvelteKit, headless across 26 commerce backends. MIT licensed.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A grocery store website you walk through in 3D. Visitors scroll (or swipe) down the aisles, tap products on the shelves to see the price, and add them to a working cart.
Built with plain HTML, CSS and JavaScript plus three.js (loaded from a CDN). There is no build step.
Open index.html in a browser, or serve the folder:
npx serve .
# or
python3 -m http.server 8000
git init
git add .
git commit -m "Basko Market 3D store"
git branch -M main
git remote add origin https://github.com/<your-username>/<repo-name>.git
git push -u origin main
Then on GitHub: Settings → Pages → Build and deployment → Source: Deploy from a branch → main / (root) → Save.
Your site will be live at https://<your-username>.github.io/<repo-name>/ within a minute or two.
| Action | Desktop | Phone |
|---|---|---|
| Walk | Scroll, ↑ / ↓, or the dock arrows | Swipe up / down |
| Look around | Drag, ← / → | Swipe left / right |
| Jump to an aisle | Aisle buttons at the bottom | Same |
| See a product | Click it | Tap it |
| Buy a product | Drag it into the trolley | Drag it into the trolley |
Everything lives in js/main.js:
CATS array near the top. Each product is
[name, brand, size, price, shape, packColour, accentColour].
Shapes: carton, cereal, tub, brick, sack, bag, bottle, jar, can, spray, tissue, pump, tube.C object in main.js (3D scene) and the :root variables in css/style.css (interface).Basko in index.html and main.js.The cart is saved in the visitor's browser (localStorage). "Place order" is a demo and does not take payment; connect a checkout service (Shopify, Razorpay, Stripe and so on) to sell for real.