syonware/frontend

Frontend for Syonware

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/syonware/frontend

dev-trunk / 6.7.x-dev 2025-11-23 04:41 UTC

This package is auto-updated.

Last update: 2025-11-23 04:41:34 UTC


README

The Frontend component is a frontend for Syonware\Core written in PHP.

This repository is considered read-only. Please send pull requests to our main Syonware\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 syonware root folder via composer. You can also run the unit tests and code-style fixers via composer scripts.

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

For example:

$ composer build:js:frontend

It's recommended to use the composer watch:frontend command when developing, so the files will be compiled as soon as they change.

Resources