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.