![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
babel
Daisyiko
这个作者很懒,什么都没留下…
展开
-
babel 7.x 问题
ERROR in ./src/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module '@babel/core' babel-loader@8 requires Babel 7.x (the package '@babel/core'). If ...原创 2018-11-10 20:45:50 · 1016 阅读 · 0 评论 -
ES6 思考学习记录(一)
1.ES模块化如何使用,开发环境如何打包? 使用-> 语法是怎么样的。 开发环境-> webpack,rollup... 语法:在export里面分为export defalut 和export ,export default 就是默认输出的意思,一个文件只有一个export default,但是可以有多个export ,在import 时 如果为export default 就不...原创 2018-11-11 13:25:07 · 187 阅读 · 0 评论 -
nuxt import不行
import Koa from 'koa' ^^^ SyntaxError: Unexpected identifier at new Script (vm.js:79:7) at createScript (vm.js:251:10) at Object.runInThisContext (vm.js:303:10) at Module._com...原创 2019-03-27 19:10:10 · 1055 阅读 · 0 评论