I want to let the backend node run es6 through babel-node. As a result, after installing babel-cli, I always report Requires Babel "^ 7.0.0-0 " and but was loaded with "6.26.3 ". The details are as follows: error: Requires Babel "^7.0.0-0",...
a.js module.exports = a ; index.js import a from . a console.log(a); .babelc { "presets": [ ["env", { "targets": { "node": "current" } }] ] } execute us...
module.exports = { comments: false, plugins: [ [ import , { libraryName: antd , style: true, or css }, ] ], };...
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...
babel ES7 decorator plug-in, it seems that can only be used on Class, how to break? ...
Today, when making ele.me commodity components, the css style of this component is suddenly not displayed. All other components css can display normally this is the template <template> <div class="goods"> <div class...
ssh: git@192.168.230.131:22: org.eclipse.jgit.transport.CredentialItem$YesNoType:The authenticity of host 192.168.230.131 can t be established. RSA key fingerprint is de:da:4c:17:9e:a2:6c:b5:5d:7f:45:aa:16:21:95:62. Are you sure you want to conti...
encountered a problem. The project uses the separation of front and rear ends, and the back end uses node express . The front end and background are in different places, and there is cross-domain. How to deal with session sharing problem . My pre...
using vue-i18n in vue projects any tag with translated text on the page after switching languages will report this error Cannot read property _ t of null has not found any impact on the project so far which god knows why ...
I created a folder locally and put it into a document. Then the specific steps are as shown in the figure above. Set ssh-key, first, and then follow the general step git init, git add.. , git commit-m dd ,git remote add origin,git pull origin mas...