Bundle Installation
To install the bundle, the recommended way is using Composer:
composer require spomky-labs/pwa-bundle
No Flex recipe exists for this bundle, but you can create a configuration file that will be modified as you progress in the integration of the features.
pwa: ~
The integration in your application is very simple. You are only required to add a Twig function inside the end of the <head>
tag of your HTML pages.
<!DOCTYPE html>
<html lang="en">
<head>
{{ pwa() }}
</head>
<body>
...
</body>
</html>
Last updated
Was this helpful?