Giter Site home page Giter Site logo

storefront's Introduction

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.

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 the psh.phar.

  • storefront:dev Builds the project for development
  • storefront:hot Starts the hot module reloading server
  • storefront:hot-proxy Same as hot, but starts a proxy server with live reload without the need to change twig paths
  • storefront:install Installs the node.js dependencies
  • storefront:build Builds the project for production

For example:

$ ./psh.phar storefront:dev

It's recommended to use the storefront:hot-proxy command when developing, so the files will be compiled as soon as they change.

It's also possible to use the webpack-dev-server with hot module reloading (HMR) activated. To be able to use HMR you have to run the command storefront:hot and set the isHMRMode variable, located in platform/src/Storefront/Resources/views/storefront/base.html.twig, to true.

Resources

storefront's People

Contributors

oliverskroblin avatar pweyck avatar tobiasberge avatar benjamin-ott avatar shyim avatar ssltg avatar keulinho avatar janbuecker avatar mitelg avatar jleifeld avatar leichteckig avatar jenskueper avatar taltholtmann avatar uehler avatar pantrtxp avatar sebastianfranze avatar azoffmann avatar janpietrzyk avatar cxo-jutz avatar marcelbrode avatar mstegmeyer avatar vienthuong avatar tinect avatar lernhart avatar philipreinken avatar joshuabehrens avatar haberkamp avatar dominik28111 avatar staff-d avatar seggewiss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.