the project created by default scaffolding cannot be used in low-level browsers after packaging. It is found that the es6 code of vendor has not been converted babel.config.js module.exports = { presets: [ @vue app ] } as shown in the fi...
a.js module.exports = a ; index.js import a from . a console.log(a); .babelc { "presets": [ ["env", { "targets": { "node": "current" } }] ] } execute us...
Why Vue s Webpack template does not use polyfill can also use ES6+ methods such as Object.assign on IE browsers. And there is no babel-polyfill in the package.json and related configuration of the template can t babel-loader automatically add relev...
because the DatePicker in iviewui needs extension operations, but the size of the main.js file generated by adding the transform-object-rest-spread plug-in increases several times .babelrc as follows { "presets": ["env"], "...
here s the problem. The es6 specification for writing code at the front end. Browsers do not fully support . The problem arises when uses babel transformations. Babel can not directly transfer the code used by the browser, must use other tools? Peopl...
1 react mobx project execution will report an error react mobx error Missing class properties transform, has installed transform-decorators-legacy and transform-class-properties, I don t know what went wrong store countStore.js import { observable, ...
A company had no idea after thinking about the interview questions for half an hour. $arr = [ [4, 5, 9, 4, 1], [11, 14, 9, 6, 20], [21, 44, 90, 16, 21], [16, 34, 99, 600, 230], [121, 18, 89, 60, 33] ] the array $arr [0] [0] is th...
xhtml: < view hidden= "{{currentTabeTables0}} " > < view wx:for= {{logs} > <view>{{logs.pcontent}}< view> <view> <!-- <image wx:for= {{logs.ppic}} wx:for-index="index" wx:for-item= picPath src= {{picPath....
index.php <?php header( Cache-Control: no-cache ); header( X-Accel-Buffering: no ); set_time_limit(5); if (ob_get_level() === 0) { ob_start(); } while (true) { echo str_pad( , 4096); echo <...
how is this time format generated? "2018-06-05T19:55:29.000+0800 " currently only knows that (new Date ()). ToISOString () can generate "2018-06-22T08:41:09.093Z ", but I don t know what to do with the above format ...