0๐
Do you mean Vueโs devtools? If that so then I have two solution:
- set
Vue.config.devtools
asfalse
before you declare your app:
import AppConfig from './app.vue';
Vue.config.devtools = false;
const App = new Vue(AppConfig);
- Do not use development version and use production version instead. For more information please see official Document.
Each one above can achive your goal.
0๐
add this line
NODE_ENV=production
to .env file.
But why is it only applied in Firefox and Devtool are still visible in Chrome?
Source:stackexchange.com