the project project is as follows, zhoulujun webpack4-vue2-project-template and then find out, mounted () { this.$ref.demo.clientWidth; gets the parent node width this.$ref.demo.clientHeight; value is 0 this.$nextTick (() = > { this.$ref.demo...
< H2 > first of all, it is tested that there is no problem with extracting the common module of css. The configuration is as follows: < H2 > optimization: { splitChunks: { cacheGroups: { 2Css Js ...
problem description add a processor to the scss sass file in the webpack configuration file and introduce the global sass variable, but use the variable in the vue template to indicate that the variable does not exist the environmental background of...
< H1 > problem description < H1 > recently fiddling with webpack4, configuration reference vue-cli, but when actually developing, scss-loader or stylus-loader is used for convenience. without extract-text-webpack-plugin, every time modifies the st...
1.Echarts4 renders a radar chart. The series (option.series) uses the product line, the indicator (radar.indicator) is the distributor type, and the indicator data is the unit price. As shown in the following figure, " " " " 2.{ } 3.mouseup obviou...
such as the question, go to the code <input type="text" name="address"> var pattern = new RegExp("[`~!@-sharp$^&*()=|{} :; , [ ].<> ?~@-sharp&*|{} ;: " " ]") $("input").on("ke...
my current version of node is v8.11.3. When using nodemon, nodemon seems to have failed, and I have to restart the service manually every time. What is the reason? package.json "scripts": { "server": "node server.js",...
:React vue element-uiPopoverhtml: ...
I need to ignore all files in the .nuxt folder writing: .nuxt and .nuxt in .gitignore has no effect this is my .gitignore file code .DS_Store node_modules .nuxt npm-debug.log* yarn-debug.log* yarn-error.log* -sharp Editor directories and fil...