Skip to content

Vue 3: Props are visible using the element inspector #372

Answered by reinink
dubljanin96 asked this question in Help (Vue)
Discussion options

You must be logged in to vote

This is totally expected behaviour. All data that you pass from your server-side framework to Inertia is publicly available.

As noted from the docs:

To ensure that pages load quickly, only return the minimum data required for the page. Also, be aware that all data returned from the controllers will be visible client-side, so be sure to omit sensitive information.

Replies: 4 comments 23 replies

Comment options

You must be logged in to vote
1 reply
@muuvmuuv
Comment options

Answer selected by claudiodekker
Comment options

You must be logged in to vote
2 replies
@grantholle
Comment options

@claudiodekker
Comment options

Comment options

You must be logged in to vote
16 replies
@CamKem
Comment options

@MohammadZarifiyan
Comment options

@MohammadZarifiyan
Comment options

@stevebauman
Comment options

@MohammadZarifiyan
Comment options

Comment options

You must be logged in to vote
4 replies
@jozyonline
Comment options

@dickmartinez
Comment options

@MuhRiswan
Comment options

@mhdasad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment