haokeyingxiao / storefront
Storefront for Shopware
v6.6.5.0
2024-11-20 16:06 UTC
Requires
- php: ~8.2.0 || ~8.3.0
- cocur/slugify: ^4.3.0
- doctrine/dbal: ^3.9
- haokeyingxiao/core: *
- meyfa/php-svg: ^0.14.0
- padaliyajay/php-autoprefixer: ^1.4
- scssphp/scssphp: v1.12.0
- shopware/core: v6.6.5.0
- symfony/cache: ~7.1.1
- symfony/cache-contracts: ~3.5.0
- symfony/config: ~7.1.1
- symfony/console: ~7.1.1
- symfony/dependency-injection: ~7.1.1
- symfony/event-dispatcher: ~7.1.1
- symfony/event-dispatcher-contracts: ~3.5.0
- symfony/framework-bundle: ~7.1.1
- symfony/http-foundation: ~7.1.1
- symfony/http-kernel: ~7.1.1
- symfony/mime: ~7.1.1
- symfony/routing: ~7.1.1
- symfony/security-core: ~7.1.1
- symfony/service-contracts: ~3.5.0
- symfony/validator: ~7.1.1
- twig/intl-extra: ^3.10.0
- twig/string-extra: ^3.10.0
- twig/twig: ^3.14.0
Requires (Dev)
- phpunit/phpunit: ^10.5
- symfony/css-selector: ~7.1.1
This package is auto-updated.
Last update: 2024-11-21 21:24:10 UTC
README
The Storefront component is a frontend for Shopware\Core written in PHP.
This repository is considered read-only. Please send pull requests to our main Shopware\Core repository.
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 shopware 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 themecomposer watch:storefront
Runs the webpack development server and starts a proxy server with live reloadcomposer init:js
Installs the node.js dependenciescomposer eslint:storefront
Code-style checks for all Storefront JS/TS filescomposer ludtwig:storefront
Code-style checks for all Storefront twig files using ludtwigcomposer storefront:unit
Launches the jest unit test-suite for the Storefrontcomposer storefront:unit:watch
Launches the interactive jest unit test-suite watcher for the Storefrontcomposer stylelint:storefront
Code-style checks for all Storefront SCSS files using stylelint
For example:
$ composer build:js:storefront
It's recommended to use the composer watch:storefront
command when developing, so the files will be compiled as soon as they change.