Use a js
or no-js
variant depending on the availability of JavaScript, e.g. no-js:hidden
or js:bg-blue-500
.
const plugin = require('tailwindcss/plugin');
module.exports = {
MIX_JS_DEBUG="${APP_DEBUG}" |
axios.interceptors.response.use(response => { | |
return response; | |
}, error => { | |
if (error.response.status === 401) { | |
Swal.fire({ | |
title: 'Session expired', | |
text: 'Please sign in again!', | |
type: 'error', | |
}).then(result => { | |
if (result.value) { |
<?php | |
namespace App\Traits; | |
trait FormattedDate | |
{ | |
public function initializeFormattedDate() | |
{ | |
$this->append('formatted_created_at'); | |
$this->append('formatted_created_at_date'); |
function isIE() { | |
var ua = window.navigator.userAgent; | |
var msie = ua.indexOf('MSIE '); | |
var trident = ua.indexOf('Trident/'); | |
return (msie > 0 || trident > 0); | |
} | |
if (isIE()) { | |
document.getElementById('ie-notice').style.display = 'block'; |