nr 2. theme anpassungen theme und composer: *.json *.php

This commit is contained in:
ps74 2021-09-03 11:11:23 +02:00
parent 397be912ec
commit 039e3bde74
3 changed files with 21 additions and 4 deletions

18
composer.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "swag/theme-skeleton",
"description": "Theme skeleton plugin",
"type": "shopware-platform-plugin",
"license": "MIT",
"autoload": {
"psr-4": {
"IniHausschuhTheme\\": "src/"
}
},
"extra": {
"shopware-plugin-class": "IniHausschuhTheme\\IniHausschuhTheme",
"label": {
"de-DE": "Theme IniHausschuhTheme plugin",
"en-GB": "Theme IniHausschuhTheme plugin"
}
}
}

View File

@ -1,11 +1,11 @@
<?php declare(strict_types=1); <?php declare(strict_types=1);
namespace Unsertheme; namespace IniHausschuhTheme;
use Shopware\Core\Framework\Plugin; use Shopware\Core\Framework\Plugin;
use Shopware\Storefront\Framework\ThemeInterface; use Shopware\Storefront\Framework\ThemeInterface;
class Unsertheme extends Plugin implements ThemeInterface class IniHausschuhTheme extends Plugin implements ThemeInterface
{ {
public function getThemeConfigPath(): string public function getThemeConfigPath(): string
{ {

View File

@ -12,7 +12,7 @@
"app/storefront/src/scss/overrides.scss", "app/storefront/src/scss/overrides.scss",
"@Storefront", "@Storefront",
"@RHWebMagnify", "@RHWebMagnify",
"app/storefront/src/scss/base.scss", "app/storefront/src/scss/base.scss"
], ],
"script": [ "script": [
"@Storefront", "@Storefront",
@ -24,7 +24,6 @@
"@RHWebMagnify", "@RHWebMagnify",
"app/storefront/src/assets" "app/storefront/src/assets"
], ],
,
"config": { "config": {
"tabs": { "tabs": {
"tabLayout": { "tabLayout": {