JSPM

@ecomplus/storefront-framework

0.8.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 206
  • Score
    100M100P100Q95585F
  • License MIT

Framework for PWA and JAMstack e-commerce templates with E-Com Plus APIs

Package Exports

  • @ecomplus/storefront-framework
  • @ecomplus/storefront-framework/src/webpack.config

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ecomplus/storefront-framework) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

storefront-framework

CodeFactor npm version license mit

Webpack based tool to develop and build JAMstack & PWA e-commerce templates with E-Com Plus APIs

Getting started

First things first, install the module as dev dependency:

npm i --save-dev @ecomplus/storefront-framework

Note: while you can install and run storefront-pack globally, we recommend installing it locally.

Commands

  • storefront-pack serve: Starts Webpack development server on port 9123 (http://localhost:9123);
  • storefront-pack build: Compile assets bundles for production and prerender e-commerce pages;

NPM scripts

NPM package.json scripts are a convenient and useful means to run locally installed binaries without having to be concerned about their full paths. Simply define a script as such:

{
  "scripts": {
    "serve": "storefront-pack serve",
    "build": "storefront-pack build"
  }
}

And run the following in your terminal/console:

npm run serve

Building for production:

npm run build

Deploy with Netlify

Sample

Deploy to Netlify