mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-13 06:03:50 +08:00
v2.0 代码提交
This commit is contained in:
16
smart_admin_v1/smart-admin-h5/babel.config.js
Normal file
16
smart_admin_v1/smart-admin-h5/babel.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
module.exports = {
|
||||
presets: [['@vue/cli-plugin-babel/preset', {useBuiltIns: 'usage', corejs: 3}]],
|
||||
plugins:[
|
||||
// vant-ui 按需引入,详情:https://github.com/ElementUI/babel-plugin-component
|
||||
// [
|
||||
// 'import',
|
||||
// {
|
||||
// libraryName: 'vant',
|
||||
// libraryDirectory: 'es',
|
||||
// style: true
|
||||
// },
|
||||
// 'vant'
|
||||
// ]
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user