Has anyone tried tailwindcss jit with Laravel components?

|
simon_an 2021-05-12 16:04:50
etekumoses 2021-05-12 15:53:51
I even added csrf

Then

simon_an 2021-05-12 16:05:54
Check
storage/logs/laravel.log
and send the summary of the error
shinejemi 2021-05-12 16:22:44
Any Django developer n
I need an urgent help?
gamble_bee 2021-05-12 16:28:40
shinejemi 2021-05-12 16:22:44
Any Django developer n
I need an urgent help?

How can I assist?

thekiharani 2021-05-12 16:56:57
Has anyone tried tailwindcss jit with Laravel components? Seems variables (such as colors) passed as props do not work
thekiharani 2021-05-12 16:59:41
laravel_discuss-80640.jpg
This is the component
thekiharani 2021-05-12 17:01:00
laravel_discuss-80641.jpg
This is the usage
thekiharani 2021-05-12 17:02:29
Expected results:

Both blue and red colors should work, and works if I remove jit mode in tailwindcss. Otherwise, only the blue color works (or whatever the default is) and any other color passed does not work

thekiharani 2021-05-12 17:03:45
Anyone encountered this and any workaround on the same?
DesolatorMagno 2021-05-12 17:04:07
I think that you need to specify the folder for views so it can check the compiled files.
thekiharani 2021-05-12 17:05:27
DesolatorMagno 2021-05-12 17:04:07
I think that you need to specify the folder for views so it can check the compiled files.

laravel_discuss-80645.jpg
I did, to an extent of including the compiled views

WEBLYSS SOFTWARE 2021-05-12 17:05:47
HI,ANYONE INTERESTED FOR OWN DOMAIN BASED GMAIL ACCOUNT (GSUIT BUSINESS STARTER/PROFESSIONAL EMAIL,30 GB SPACE) IN A DISCOUNTED COST. PLS PM OR CALL +918763609732/SALES@WEBLYSS.COM ( ONLY SERIOUS INQUIRY PLS),THANK YOU.
thekiharani 2021-05-12 17:06:07
Actually any other thing works, except the components
Gagandeep 2021-05-12 18:16:28
In One page main session initialize

bt on another controller it’s not working

Gagandeep 2021-05-12 18:16:50
I face this issue in another framework … bt in laravel i don’t know what the solution
PoojaExperts 2021-05-12 18:17:52
need magento expert who can create shopping website
Gagandeep 2021-05-12 18:23:41
Gagandeep 2021-05-12 18:16:28
In One page main session initialize

bt on another controller it’s not working

547 online … and still no one know what to do

DesolatorMagno 2021-05-12 18:25:57
Yeah, 546 person waiting to answer any question.
Gagandeep 2021-05-12 18:32:34
Session is not saving ……
Gagandeep 2021-05-12 18:32:55
DesolatorMagno 2021-05-12 18:25:57
Yeah, 546 person waiting to answer any question.

Then what’s the group about ???

DesolatorMagno 2021-05-12 18:33:26
About 544 person asking question and 3 person that answer when they have free time.
Myke 2021-05-12 18:35:15
agzpresh 2021-05-12 15:00:05
Use JSON.parse()

Still not working

N4YE3M 2021-05-12 18:50:16
Looking for laravel developer with VueJs experience to work on a current project. Will hire through marketplace!
N4YE3M 2021-05-12 18:51:25
Need to add few modules and big fixing in the current app with some ui changes(adding filters,toggle switch etc)
N4YE3M 2021-05-12 18:53:45
Bug fixing*
embeddingDreams 2021-05-12 18:55:06
laravel_discuss-80665.jpg
Hai all I got this error how can I solve please help
SIVASIVA 2021-05-12 19:03:24
First run that ..that not an issue intelepnse some errors are there
simon_an 2021-05-12 19:28:43
embeddingDreams 2021-05-12 18:55:06
Hai all I got this error how can I solve please help

But you already imported Str up there, why’s it saying it’s not found?

simon_an 2021-05-12 19:29:58
Try to start with
Str::.
agzpresh 2021-05-12 20:57:34
Myke 2021-05-12 18:35:15
Still not working

Can you do a screenshot?

YOUCODEWORLD 2021-05-12 21:40:59
embeddingDreams 2021-05-12 18:55:06
Hai all I got this error how can I solve please help

use IlluminateSupportStr; addd head

YOUCODEWORLD 2021-05-12 21:42:01
Str::slug()
The Str::slug method generates a URL friendly “slug” from the given string:

use IlluminateSupportStr;

$slug = Str::slug(‘Laravel 5 Framework’, ‘-‘);

// laravel-5-framework

embeddingDreams 2021-05-12 21:44:15
YOUCODEWORLD 2021-05-12 21:42:01
Str::slug()
The Str::slug method generates a URL friendly “slug” from the given string:

use IlluminateSupportStr;

$slug = Str::slug(‘Laravel 5 Framework’, ‘-‘);

// laravel-5-framework

Thank you. I added above line to my code error disappeared

YOUCODEWORLD 2021-05-12 21:45:11
Wellcome 😀
simon_an 2021-05-12 22:07:46
embeddingDreams 2021-05-12 21:44:15
Thank you. I added above line to my code error disappeared

But that wasn’t an error, it is a problem with your editor

|