Why doesn't my newly built vue project have webpack.base.conf.js?

create a new vue project with the vue-cli ui version, and then want to manually integrate vux yourself.
then install the following dependencies

vue-loader
less
less-loader
vux-loader
yaml-loader

later, I read the document saying that I want to modify the webpack.base.conf.js file, but why my project doesn"t have this file, not even the build directory.

what to do now ~ because I am not very familiar with webpack, I hope God will answer in detail, what should I do next? Do you manually create the build directory and related webpack.*.js files?

Apr.07,2021

if you look at it this way, you don't seem to be using webpack in this project.
if you build it yourself, the document will be given to you. ides/installation/" rel=" nofollow noreferrer "> https://www.webpackjs.com/gui.
I remember after installing webpack-cli, just run npm install webpack--save-dev in the project directory. I don't know if the existing projects will conflict.
finally, with Xiaobai, I suggest you switch to the latest version of vue-cli, and fool install ^-^


because you are using the latest version of vue-cli. He borrowed react to hide the configuration

.
Menu