mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-02 03:55:59 +00:00
同步gitee代码
This commit is contained in:
16
smart-admin-h5/babel.config.js
Normal file
16
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