allincart/storefront

Storefront for Allincart

dev-trunk / 6.7.x-dev 2025-05-02 12:04 UTC

This package is auto-updated.

Last update: 2025-05-02 12:14:36 UTC


README

The Storefront component is a frontend for Allincart\Core written in PHP.

Getting started

To compile the assets (scss/javascript) you have to run the webpack compiler. This is easily done by executing the following commands in the allincart root folder via composer. You can also run the unit tests and code-style fixers via composer scripts.

  • composer build:js:storefront Builds the project for production and re-compiles the theme
  • composer watch:storefront Runs the webpack development server and starts a proxy server with live reload
  • composer init:js Installs the node.js dependencies
  • composer eslint:storefront Code-style checks for all Storefront JS/TS files
  • composer ludtwig:storefront Code-style checks for all Storefront twig files using ludtwig
  • composer storefront:unit Launches the jest unit test-suite for the Storefront
  • composer storefront:unit:watch Launches the interactive jest unit test-suite watcher for the Storefront
  • composer stylelint:storefront Code-style checks for all Storefront SCSS files using stylelint

For example:

$ composer build:js:storefront