M
M
mmad2019-10-21 21:09:54
Vue.js
mmad, 2019-10-21 21:09:54

How to hide vue.js instance from devtools console?

We have an empty laravel 5.8.35 project.
After launch , the npm run prodapp.js file is successfully compiled.
I open the site, open the devtools, write in the console app.__vue__and get a copy of the view.
5dadf3acc0a8a652911308.jpeg
How to hide it?
At what access to an instance is carried out if to communicate to div on its id. Those. if we have <div id="ttt"></div>, then the instance will be returned through ttt.__vue__
the standard app.js, webpack.mix.js too, in .env APP_ENV=productionandAPP_DEBUG=false

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2019-10-21
@mmad

Zochem?
Do you have secret developments at the front? Then they had to be sold not at the front.
Everything on the front is available in the browser console one way or another.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question