Vue + ElementUI's e-commerce management system example 22 Project Optimization-Specify different packaging entrances for development mode and release mode

Project optimization strategy 3. Specify different packaging entrances for development mode and release mode. By default, the development mode and release mode of the Vue project share the same packaged entrance file (ie src / main.js). In order to separate the development process of the project from the release process, we can specify the packaged entry file for each of the two modes, namely: 1) The entry file for the development mode is src / main-dev.js 2

Guess you like

Origin www.cnblogs.com/lblblb/p/12709885.html