Inline CSS for e-mails (#3718)
* Add laravel-mail-css-inliner * fix typo * production builds Co-authored-by: David Bomba <turbo124@gmail.com>
This commit is contained in:
parent
6e473b9987
commit
b036d370c3
4 changed files with 23 additions and 2 deletions
|
|
@ -27,6 +27,7 @@
|
|||
"composer/composer": "^1.10",
|
||||
"dacastro4/laravel-gmail": "^3.2",
|
||||
"doctrine/dbal": "^2.10",
|
||||
"fedeisas/laravel-mail-css-inliner": "2.3",
|
||||
"fideloper/proxy": "^4.0",
|
||||
"fzaninotto/faker": "^1.4",
|
||||
"google/apiclient": "^2.0",
|
||||
|
|
|
|||
20
config/css-inliner.php
Normal file
20
config/css-inliner.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Css Files
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Css file of your style for your emails
|
||||
| The content of these files will be added directly into the inliner
|
||||
| Use absolute paths, ie. public_path('css/main.css')
|
||||
|
|
||||
*/
|
||||
|
||||
'css-files' => [
|
||||
public_path('css/app.css'),
|
||||
],
|
||||
|
||||
];
|
||||
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"/js/app.js": "/js/app.js?id=49b0ee243139f6e72bd9",
|
||||
"/css/app.css": "/css/app.css?id=1eeeaa187be823b49020",
|
||||
"/css/app.css": "/css/app.css?id=c5a1e62f4e6c9fc24232",
|
||||
"/js/clients/invoices/action-selectors.js": "/js/clients/invoices/action-selectors.js?id=3e58537817b968346c9f",
|
||||
"/js/clients/invoices/payment.js": "/js/clients/invoices/payment.js?id=af49e24958be5fc00c92",
|
||||
"/js/clients/payment_methods/authorize-stripe-card.js": "/js/clients/payment_methods/authorize-stripe-card.js?id=f4c45f0da9868d840799",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue