Repository navigation
FAQ
Answers to common questions about the Storefront Playground. If your question is not here, open an issue.
The playground is a minimal starter: one component that fetches products and categories. Storefront is the production-ready Vue 3 storefront with all shop pages, basket, checkout and user profile, deployed to Selldone as a Layout.
No. It loads the public demo shop toysworld by default. To load your own shop, change the shop-name meta tag in index.html.
StorefrontSDK.Setup() could not find <meta name="shop-name" content="..."> in index.html. Add it back or pass the name to StorefrontSDK.Setup("your-shop").
Selldone Core needs <meta content="https://selldone.com" name="service-url">. Keep all Business OS meta tags from the original index.html.
It is installed as a dependency of @selldone/sdk-storefront. Install it directly if you want to pin its version.
In recent Storefront SDK versions, fetchProducts is a deprecated alias of window.$storefront.products.list(...). Both call the same function; use list in new code.
build runs vue-tsc before vite build, with strict, noUnusedLocals and noUnusedParameters enabled. Fix the reported types or unused variables, or run npx vite build to skip type checking while experimenting.
The request runs only in the button's click handler (fecth). Call it from onMounted if you want to load data automatically.
The repository does not include a license file yet. Ask in an issue or contact info@selldone.com before reusing it.