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

folium's avatar

How can I stop anyone from watching vuejs in devtools.

Hello i have included vuejs through cdn to my app and everything is working perfectly. i need to do following things :

  1. Remove this message "Vuejs is detected Open DevTools and look for the Vue panel."
  2. Keep this message: (Vue.js is detected on this page.Devtools inspection is not available because it's in production mode or explicitly disabled by the author.) just like laracasts has.

Any help will much appreciated.

Thanks.

0 likes
5 replies
thinkverse's avatar

Use the production version of VueJS's CDN. I'd recommend reading the documentation on production deployments.

<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
1 like
thinkverse's avatar
Level 15

@folium That CDN is Vue 2, to get a production CDN of Vue 2 use the following. This dist is stated to be a production build according to the GitHub README for v2.6.

<script src="https://unpkg.com/vue@2/dist/vue.min.js"></script>
1 like
thinkverse's avatar

@folium If you found a CDN that works, great, You can disregard my earlier comment then. 👍

1 like

Please or to participate in this conversation.