在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:hubblecommerce/hubble-frontend-pwa开源软件地址:https://github.com/hubblecommerce/hubble-frontend-pwa开源编程语言:Vue 84.6%开源软件介绍:Headless E-Commerce Interface
LinksDemo | Documentation | Website Table of contents
PrerequisitesThis guide focuses on installing hubble PWA as a Nuxt.js module only, so before moving on, make sure you meet the requirements first. InstallationInstall from scratch including fully configured Nuxt.js projectInstall via npx so everything is set up correctly and ready to use. The script prompts you to enter the access data for the api: npx @hubblecommerce/launcher <project-name> or enter your API url and key directly as additional parameters: npx @hubblecommerce/launcher <project-name> <api-url> <api-key> Install to existing Nuxt.js project
npm i @hubblecommerce/hubble
modules: [
['@hubblecommerce/hubble']
], Module have to be registered in modules, not buildModules to make sure runtime configurations work.
API_SW_ACCESS_KEY = ''
API_BASE_URL = '' Read more about where to get the credentials in the supported e-commerce platforms section. Build modesDevelopmentnpm run dev Productionnpm run build
npm start Featureshubble PWA is a Nuxt.js module. That means it relies on all the great features of Nuxt.js like:
and enriches them to meet the demanding requirements of an e-commerce interface like:
This way hubble PWA can always be up-to-date to the fast-growing Nuxt.js ecosystem. PerformanceWe aim for an intuitive and smooth interface experience no matter how many features you build in your shop. How we do it:
SEO friendlyAll content that is relevant for SEO purposes will be rendered server-side thanks to Nuxt.js universal mode.
The rest will be loaded lazily to improve performance. We also take care of:
PWATo us, a PWA means more than the ability to add your website to home-screen or enable push notifications. We want to make sure the interface actually feels like an intuitive, native app and hand you tools to achieve that like:
Besides, hubble of course is shipped with a simple service worker for offline support. Feel free to adjust it to fit your caching approach needs. Other PWA Features like "Add to Home" or "Push Notifications" can be installed easily using the official Nuxt.js PWA Module. Specialized in Shopware 6Because hubble PWA was built for Shopware 6 primarily, it supports features like: RoadmapThanks to the headless approach hubble is not tied to Shopware only, so we are constantly working on connecting other e-commerce frameworks. See our detailed roadmap for further information. ContributingSpecific instructions for pull requests can be found here. SupportIf you like the hubble PWA, feel free to contribute and spread the word on social media. Also don't forget to give us a star on github. Stay updatedIf you like to receive updates about updates and the latest releases just click on "watch" and select the information you like to get noticed about. Metadigital.manufaktur GmbH – [email protected] Distributed under the MIT license. See LICENSE for more information. https://github.com/hubblecommerce/hubble-frontend-pwa |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论