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...
during the interview, the interviewer asked me what is the difference between a model and a controller. I replied: the main purpose of the controller is to provide the model with what needs to be done, and the model is equivalent to all the ordered th...
pairs of positive integers (xpeny), the remainder of xrecery y is greater than or equal to k, the input is nmemery k, and the output is how many, for example, input 52, output 7, logarithms are (2magin3) (2magin4) (2mem5) (3pyrr5) (4preline 5) (5pc5), t...
problem description after using the inport import module, the Vue component cannot be registered using the global variable of Vue in the Scruipt tag Mvc+Vueimportimport related codes Vue registers components in Modult <script > l...
when phpexcel exports excel, both the server and the local file are exported. Why does the excel on my server have data, the local one is blank, and there is nothing left? $param = [] uid => 2120872 ]; $order = Jdbc:...
js can directly use Chinese as the variable name, so it is very convenient to use Chinese directly when setting language files. But is there a problem with this? it s usually like this: export default { LIST: List , SETTING: Setting , ...