Can the external plug-ins used in general vue projects be installed in the development environment?

ask for advice, can the external plug-ins used in general vue projects be installed in the development environment?
such as element-ui, axios, vuex, babel-polyfill, etc., is it unnecessary to publish to the production environment, and finally the packaged files can run normally? If you choose to publish to a production environment when installing these plug-ins, will writing to dependencies, eventually have an impact on the operation of the page?

Jun.02,2021

1. If you package locally, the server does not need to install
2. If you package on the server, you need to install it, which has no effect on your page.
your packaged html+js is static, and it doesn't matter whether you have dependencies or not.


it seems that your packaging is local, and the packaged files have nothing to do with these dependencies. The production environment only needs these generated files. Other dependent libraries that do not require


development environment are packaged into vendor.js when packaged. The more libraries you rely on, the larger the file will be, and you can use webpack's configuration to alleviate this problem. Therefore, the development environment can be installed

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eab16a-47e00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eab16a-47e00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?