dneustadt/dne-custom-js-css

Manage custom JavaScript and CSS/LESS in Shopware

Installs: 163

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:shopware-plugin

1.1.2 2021-04-30 21:44 UTC

This package is auto-updated.

Last update: 2024-04-14 04:09:09 UTC


README

Scrutinizer Travis CI

This plugin for Shopware features a backend container manager to easily add custom JavaScript and/or CSS/LESS to the theme compilation.

DneCustomJsCss

The plugin offers the following features:

  • Create unlimited containers of JavaScript and/or CSS/LESS
  • Each container can be limited to any number of shops/subshops
  • LESS variables and mixins are inherited from themes and plugins and can be accessed
  • JS/CSS is injected into theme compilation. This means no dependency conflicts or additional resource requests.
  • Languages: English, German

Requirements

1.1.1

  • Shopware >= 5.7

1.1.0

  • Shopware >= 5.6

1.0.0

  • Shopware >= 5.2.27 see releases

Installation

Clone this repository into a folder called DneCustomJsCss within the custom/plugins directory of the Shopware installation.

  • Install the plugin through the Plugin-Manager within the Shopware backend.

Install with composer

  • Change to your root Installation of shopware
  • Run command composer require dneustadt/dne-custom-js-css
  • Install and activate plugin with the Plugin Manager

Usage

The module will be accessible in backend by a new menu entry called Custom JavaScript/CSS under the Configuration menu tab.