Home > OS >  inertiajs with boostrap and laravel 8
inertiajs with boostrap and laravel 8

Time:12-19

First question here ;)

I'm learning inertia JS with laravel 8 with Vue JS (2.6) and created a basic auth system. Now problem I'm facing that There is a sample bootstrap page which works well when load the page (Refresh). But when I call post login route and redirect it back to home the UI got destroyed and once I refresh the page UI works well as it should be ?

So is there any workaround it or inertiajs is not compatible with twitter bootstrap ?

Edit : Also tried with Tailwind CSS 2.x but got same result why UI is getting destroyed.

UI With Refresh

UI After Login redirect

CodePudding user response:

Attention !!

I tried in a fresh laravel and everything got works

There is no issue now.

May be some css compilation got wrong.

I tried without / with laravel ui 3.0 and work fine now.

Thanks mate who replied ☺️

  • Related