Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shopware/storefront
https://github.com/shopware/storefront
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shopware/storefront
- Owner: shopware
- License: mit
- Created: 2018-05-03T13:00:39.000Z (over 6 years ago)
- Default Branch: trunk
- Last Pushed: 2024-04-12T05:38:33.000Z (7 months ago)
- Last Synced: 2024-04-12T12:09:06.661Z (7 months ago)
- Language: PHP
- Size: 64.3 MB
- Stars: 52
- Watchers: 36
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Storefront Component
====================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](https://github.com/shopware/shopware).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 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 stylelintFor 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.
Resources
---------* [Documentation](https://developer.shopware.com)
* [Contributing](https://developer.shopware.com/docs/resources/guidelines/code/contribution.html)
* [Report issues](https://github.com/shopware/shopware/issues) and
[send Pull Requests](https://github.com/shopware/shopware/pulls)
in the [main Shopware\Core repository](https://github.com/shopware/shopware)