Download the PHP package romegadigital/ie11compatibility without Composer
On this page you can find all versions of the php package romegadigital/ie11compatibility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download romegadigital/ie11compatibility
More information about romegadigital/ie11compatibility
Files in romegadigital/ie11compatibility
Package ie11compatibility
Short Description Adds IE11 support for Laravel Nova.
License MIT
Homepage https://github.com/romegadigital/IE11Compatibility
Informations about the package ie11compatibility
Nova IE11Compatibility
Adds IE11 support to Laravel Nova. Latest CSS build based on Nova 2.8.0.
Installation
composer require romegadigital/ie11compatibility
The following command will override the Nova published user.blade.php with an IE11 compatible version. Any customizations to user.blade.php will be lost
php artisan vendor:publish --tag=nova-ie11-views --force
The following command will override the Nova published /public/vendor/nova/app.css with an IE11 compatible version.
php artisan vendor:publish --tag=nova-ie11-styles --force
Overview
Out of the box, Laravel Nova will present an error message after logging in using IE11. The error message will read something like:
or
or
The errors are due to IE not being capable of handling destructuring without going through something like Babel and therefore, cannot be included directly into your blade templates.
Published Nova partials come out of the box with destructuring requirements.
Additionally, IE11 does not have capability to process promises.
This package provides a new element for your user.blade.php to provide a work around for the destructuring limitation, and a polyfill for promises.
Additionally, some common Tailwind CSS styles are included. This is still a WIP and help getting this more fleshed out would be welcomed.
Extending
resources/views/vendor/nova/partials/user.blade.php can be updated with whatever you need.