has made a set of vue-based component libraries for internal use in the company. Cai Chicken believes that the following skills are mainly needed:
Front-end fundamentals
detailed understanding of business scenarios
it's best to know the design pattern
learn more about the packaging mechanism
Previous: React webpack code separation and lazy loading
Next: How to verify the correctness of some form fields by validateField in element-ui
now my project is to package css and js separately, and the directory structure after packaging is the same as before. before packing: csscssimages.. csscss.. .. : webpack.config.js csscss csscss I would like to ask all the great gods, what ...
just started to learn the project development of webpack+vue, and ran it with webpack-dev-server after configuration, but there was nothing wrong with the page. I ve been looking for it for two days and I still don t know why. here is the code pac...
is npm run dev a service? why can t you use the mobile phone of the same router to access the computer s ip plus port? ...
the directory structure is as follows 1. I try to put pictures directly into index.html, using the absolute path in static can be achieved, but loading pictures in assets is not good, and the relative path is useless, how to achieve html files if you...
when I was packing with webpack, I first reported an error ERROR in build.js from UglifyJs Unexpected token: punc ((). node_modules element-ui packages col src col.js:24,0 according to the search result was es6 grammar problem and then I chang...
problem description after I packaged the project today, I found that js and css each generated an extra file named chunk-xxx, so my file packaging name has always been fixed (.vitil), but today there is this randomly named chunk file, I do not know...
projects built by vue-cli+webpack. Npm run build has to manually distinguish between test and production environments every time it is packaged. How to configure automatic differentiation? For example, I need to distinguish between assetsPublicPath: ...
because both html files refer to the same vendor.js, this js file packages the common modules of the two pages together, which is relatively large. Now one of the pages uses fewer modules, so can each page reference its own vendor.js, so that the volume ...
there is no problem within an hour or two when the computer is turned on every day, and then it starts to report errors endlessly, this info?. What has been floating red, resulting in the interface behind can not be accessed, attached Google browser err...
mac vue startup error Screenshot 2018-10-24 11.13.26 AM ...
glob is a third-party module that webpack depends on during installation, and the module also allows you to use symbols such as . For example, lib .js is the file that gets all the js suffixes under the lib folder var glob = require ( glob ) v...
found the problem, the problem of the vux official template found issues https: github.com airyland v. under vux, but there is no solution for the time being Project description Project is a mobile vue2 project, which uses vux as the ui framewo...
just take the development environment as an example I saw this line of code in webpack.dev.conf.js, new webpack.DefinePlugin({ process.env : require( .. config dev.env ) }), if I have this line of code, I can get the content configure...
according to the documentation, px2rem-loader should be configured in vue.config.js, and I started to put it in css.loaderOption, yunq < hr > loaderOptions: { px2rem:{ options:{ remUnit:75, dpr:2 } } }, < ...
problem description A simple vue project made by myself, the picture shows normally during the test, visit content 10, does not display the picture after the package is finished and run with http-server, and it is no problem to right-check the image...
problem description Module not found: Error: Can t resolve . components Testc.vue the environmental background of the problems and what methods you have tried use webpack+vue for the first time related codes Please paste the code ...
problem description vue.js is directly introduced through < script >, not webpack. How to implement ie9 support the environmental background of the problems and what methods you have tried the project does not use the npm method, but introduces th...
problem description 1. The project path is as follows Picture description reset.scss .footer { background: url ( " static img top.png ") no-repeat; } 3.npm run build Image path error. Changing to. static before static in debug mode can load ...