【发布时间】:2020-12-21 15:22:31
【问题描述】:
我有一个问题:当我在 vue.js 项目(@vue/cli-plugin-babel) 中使用 vue cli babel 插件时,我在哪里可以找到转译的代码?哪个文件夹?没找到。
For example:
If i have this javascript statement:
**- `import x from 'file1.js';`**
it will be transpiled to:
**- `var x = require('file1.js');`**
right? is it correct?
babel.config.js 内容:
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
【问题讨论】:
标签: vue.js vuejs2 vuex vuetify.js vue-router