sinon's avatar
Level 1

laravel+vue+tailwind-css

is it a good ideas to create a website using those tree? or maybe laravel+tailwind-css is enough? why should i add vue? what about adding voyager for admin panel?

0 likes
14 replies
Cruorzy's avatar

First find out what you want, make it simple then add starting things like Vue if that had a real usecase for you. Personally Im using InertiaJS with Vue Laravel and Tailwind for a project and added Inertia later and tinkered with it before i implemented it everywhere.

There will always be changes the first time.

sinon's avatar
Level 1

ow thanks i'm not familiar with interia,js but i'll try

Snapey's avatar

If you want any sort of client interactivity you will need a JavaScript library. Vue is one option.

sinon's avatar
Level 1

What kind of interactivity? can you give me an example?

Sinnbeck's avatar

The input field that pops up here when you click reply is does with vue

sinon's avatar
Level 1

pop ups can be handled by laravel as well

Sinnbeck's avatar

Can you show me an example that does not require Javascript?

sinon's avatar
Level 1

well i'm not really sure about it i'm just saying, but is there is other examples for vue cuz that's not enough to make me use vue with laravel i need a solid reason that would make me using it

Sinnbeck's avatar

Well you can always start without it. That is totally fine. It can always be added later, if and only if you need it. Maybe you will never find a use case for it

But an easy summary. Any dynamic update on a web page without going to a new page (apart from css animation) is Javascript.

Personally I use laravel, react, tailwind and inertiajs

Snapey's avatar

popups cannot be handled by Laravel because they are client-side behaviours

sinon's avatar
Level 1

aokey and now this is a good reason "But an easy summary. Any dynamic update on a web page without going to a new page (apart from css animation) is Javascript." as you said thanks^^

sinon's avatar
Level 1

i really need to learn inertiajs i still don't understand it, can you tell me why do we use it please?

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

I would suggest starting with either vue or react (vue is really popular here and there are alot of videos)

Inertiajs is made for creating SPAs (single page application). That means that your browser never really changes page when clicking links. But inertia relies on you knowing either vue or react, so start with one of them

sinon's avatar
Level 1

OH now i got it^^ ok thanks man have a good day

Please or to participate in this conversation.