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: ...
...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>< title> <style> -sharpul{ width:50%;} li{ background:-sharpf5f5f5; border-bottom:1px solid -sharpddd; padding:5px 0; } -sharpul li:nth-child(...
but if I write like this, the click will execute let time = 0 setIntervalNum = setInterval(() => { time += 1 if (time >= 1) { this.vocieAuthorize(); console.log(1) } else { clearInterval(setIn...
In ios, if pop does not refresh or sideslip back, the animation of the returned page disappears. I wrote a scrolling subtitle animation, using the weex frame, should not be the problem of the frame, Android is good, on the Apple side slide or return does...
<Select v-model="scoreQuType" style="width:200px"> <Option value="4"> <div slot>NewYork< div> < Option> <Option value="shanghai">London< Option> ...