npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@hubblecommerce/hubble

v2.11.1

Published

PWA for eCommerce frameworks based on NuxtJs

Downloads

413

Readme

Headless E-Commerce Interface

Progressive Web App for your e-commerce platform based on Nuxt.js

  • [x] An open source project
  • [x] Installable as a Nuxt.js Module
  • [x] Compatible with Shopware 6
  • [x] Covers all common e-commerce features
  • [x] Excellent performance and usability
  • [x] Toolbox / framework for creating your own shop frontend

Documentation

Run npm run docs:dev to see the developer documentation or take a look at /docs. Or visit the documentation online at docs.hubblecommerce.io.

hubble PWA Introduction for Developers on YouTube

Links

Demo | Website

Table of contents

Prerequisites

This guide focuses on installing hubble PWA as a Nuxt.js module only, so before moving on, make sure you meet the requirements first.

Installation

  1. Create a new Nuxt 3 Project
npx nuxi init nuxt-app
cd nuxt-app
npm install
  1. Install the hubble Nuxt module
npm i @hubblecommerce/hubble
  1. Add the module to nuxt.config.ts
modules: ['@hubblecommerce/hubble']
  1. Create a .env file in project root and fill credentials
API_SW_ACCESS_KEY = ''
API_BASE_URL      = ''

::: tip Read more about where to get the credentials in the supported e-commerce platforms section. :::

Build modes

Development

npm run dev

Production

npm run build
node .output/server/index.mjs

Features

hubble PWA is a Nuxt.js module. That means it relies on all the great features of Nuxt.js like:

  • All benefits of Vue 3 and Nuxt 3
  • Server Side Rendering
  • Dynamic Routing
  • Code-Splitting
  • Module Ecosystem (Composables)
  • Intuitive Developer Experience
  • Runtime Configuration

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.

Performance

We aim for an intuitive and smooth interface experience no matter how many features you build in your shop. How we do it:

  • everything that's not necessary for SEO purposes will be loaded lazily via chunking and dynamic imports
  • uses as less global code as possible, everything is a Single-File-Component
  • uses only relevant parts of a CSS framework (Tailwind CSS)
  • measure performance with Google Lighthouse

SEO friendly

All 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:

  • Rich Snippets
  • Google Tag Manager
  • Enhanced e-commerce tracking

PWA

To 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:

  • Excellent performance on mobile devices
  • Mobile first design approach
  • User input feedback via decent animations and transitions

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 6

Because hubble PWA was built for Shopware 6 primarily, it supports features like:

Roadmap

Thanks 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.

Contributing

Specific instructions for pull requests can be found here.

Support

If 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 updated

If 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.

Meta

digital.manufaktur GmbH – [email protected]

Distributed under the MIT license. See LICENSE for more information.