forked from meanbee/magento2-webappmanifest
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Image Resize Feature for Icons, added Splash Screens for iOS, a…
…dded Theme Color, added apple touch icon
- Loading branch information
Showing
26 changed files
with
544 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
# Meanbee_WebAppManifest | ||
# M2Boilerplate WebAppManifest | ||
|
||
A Magento 2 extension that adds a [Web App Manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) to the store. | ||
|
||
## Installation | ||
|
||
Install this extension via Composer: | ||
|
||
composer require meanbee/magento2-webappmanifest | ||
composer require m2boilerplate/module-web-app-manifest | ||
|
||
## Usage | ||
|
||
Configure the information displayed in the manifest and enable it in * Stores > Configuration > General > Web > Web App Manifest Settings *. | ||
|
||
## Development | ||
|
||
### Setting up a development environment | ||
|
||
A Docker development environment is included with the project: | ||
|
||
docker-compose run --rm cli magento-extension-installer Meanbee_WebAppManifest \ | ||
&& docker-compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace M2Boilerplate\WebAppManifest\Block\Adminhtml\Cache; | ||
|
||
use Magento\Backend\Block\Cache\Additional as MagentoCacheAdditional; | ||
|
||
class Additional extends MagentoCacheAdditional | ||
{ | ||
/** | ||
* Clean resized images url | ||
* | ||
* @return string | ||
*/ | ||
public function getCleanResizedImagesUrl() | ||
{ | ||
return $this->getUrl('m2bp/webAppManifest/cleanResizedImages'); | ||
} | ||
} |
Oops, something went wrong.