1 Star 5 Fork 0

林任倍/manmankan_vue3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
babel.config.js 884 Bytes
一键复制 编辑 原始数据 按行查看 历史
林任倍 提交于 2023-02-07 11:08 . 上传项目
// module.exports = {
// plugins: [
// [
// 'import',
// {
// libraryName: 'element-plus',
// customStyleName: (name) => {
// return `element-plus/theme-chalk/${name}.css`
// },
// customName: (name) => {
// let nameList = name.split('-')
// let slength = '-item'.length
// let nlength = String(name).length
// //对item结尾组件处理
// if (nameList.length && nameList.includes('item')) {
// return `element-plus/lib/components/${name.slice(
// 3,
// nlength - slength
// )}`
// }
// return `element-plus/lib/components/${name.slice(3)}`
// }
// }
// ]
// ],
// presets: ['@vue/cli-plugin-babel/preset']
// }
module.exports = {
presets: ['@vue/cli-plugin-babel/preset']
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lin-junyue/manmankan_vue3.git
git@gitee.com:lin-junyue/manmankan_vue3.git
lin-junyue
manmankan_vue3
manmankan_vue3
master

搜索帮助