Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

terlebach's avatar

Inertia script() or script setup tag?

Hey Guys!

I am totally undecided what I should use for me current project - the script() method or the script setup tag.

Any suggestions? What are you using? :)

0 likes
1 reply
MohamedTammam's avatar

Does it matter? aren't them the same?

Use whatever you like and works with your team.

1 like

Please or to participate in this conversation.