introduce
This is the journey of the editor's growth path, and also the editor's learning path. Hope to grow up with you guys!
Here are two of my favorite quotes:
To have the most simple life and the most distant dream, even if it will be cold tomorrow, the mountains will be high and the water will be far away, and the road will be far away.
Why should one work hard? The best answer I have ever seen is: because the things I like are expensive, the places I want to go are far away, and the person I love is perfect. Therefore, the editor would like to say: encourage each other!
warn
When we use Vue, open the developer mode, we will see this warning: You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org /guide/deployment.html
means:
You are running Vue in development mode.
Make sure to turn on production mode when deploying to production.
See more tips at https://vuejs.org/guide/deployment.html
Install from the official documentation of Vue.js — Vue.js (vuejs.org)
NOTE: This is a hint from the docs for vue2
Solution:
Search (ctrl+F) in vue.js to find the productionTip attribute
Then save the changed information and enter the browser to view the console
The warning of the production prompt is gone
The above is the content of the editor's practice, I hope it can help everyone, thank you for watching! ! !