J
J
jazzus2019-02-10 21:43:24
Vue.js
jazzus, 2019-02-10 21:43:24

How to enable Vue in production mode?

Vue used with Laravel. Installed through the composer (probably). I wrote all the settings, the connection of the components in app.js.
Now the plate is hanging in the console:
You are running Vue in development mode.
I want to change the word development to production. Yes, I saw a link to the docks there :)
I read it. Very interesting. I would be grateful for the help
update
Registered commands in app.js

Vue.config.productionTip = false;
Vue.config.devtools = false;
Vue.config.debug = false;
Vue.config.silent = true;

Cleared browser cache. The message about the developer disappeared, the devtools turned off. Already good, but I don’t understand if production is actually enabled

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Vasiliev, 2021-08-24
@corvus007

I recently encountered this problem, maybe it will come in handy for someone:
https://chrome.google.com/webstore/detail/vue-forc...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question