problem description there is a syntax for writing ES7 in the project. I would like to ask the gods, which plug-in in the bable series can be used to translate ES7?? look forward to your advice. Thank you here the environmental background of the pro...
function jsCompile() { return gulp .src(paths.src.jsFiles) .pipe( babel({ presets: ["@babel preset-env"], plugins: ["@babel plugin-transform-runtime"] }) ) .pipe(gulp.dest(paths.dist.bas...
in the process of learning webpack packaging, other js files are introduced with require in main.js, then the service is started with webpack-dev-server , and an error is reported after opening it . webpack.config.js is configured as follows: ...
in markdown, = = big = = I want to parse it into & ltdel > big & lt del >, how to analyze it? I want to know the principle. I looked for other people s cases on the Internet, but I didn t understand them too well. I would like to ask if there is a ...
the best solution is to use vuex? Why can t the values in store be assigned directly in data, but must be in computed? I need each component to have a computed to receive the array in these store. can anyone give me an example? thank you ...
The company has given me a second-level domain name and is recently developing WeChat Mini Programs with node. However, Mini Program cannot add a port number to access the background, because there are so many projects involved, it is impossible to use n...
after clicking the button, the user downloads the compressed file (single) in the static directory without redirecting to the page. ...
the usual file upload is to select a file in the system pop-up window, then click the open button to upload the file directly, now we have a requirement that after the operation in the system pop-up window is completed, the upload will not be carr...