DEV Community

Discussion on: How to install Tailwind CSS 2 with Laravel 8

Collapse
 
the_olusolar profile image
Solar • Edited

Now I got the below error while using Vue in the laravel project

Uncaught Error: Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file

After so many research and googling, I realized Laravel mix 6 might be the cause
github.com/JeffreyWay/laravel-mix/...

And the steps to fix the issue are listed here
stackoverflow.com/a/64987618/7874532

Collapse
 
sluxzer profile image
sluxzer

hey there

is this means tailwindcss 2 & vue.js not compatible yet?

Collapse
 
robertobutti profile image
Roberto B.

Great, thank you for the feedback.
In my case, I had the issue this weekend with Laravel + Livewire + Tailwincss (so , no Vue and VueRouter on my side).