refactor: 优化项目配置与代码冗余清理

1. 新增components-diy占位组件与注入脚本,按需注入分包占位配置
2. 开启postcss编译优化
3. 移除多处重复的图标字体全局样式导入
This commit is contained in:
2026-07-09 15:13:06 +08:00
parent a7dd0b302e
commit 94be20d499
14 changed files with 1691 additions and 44 deletions

View File

@@ -0,0 +1,21 @@
<template>
<!-- DIY 占位页(不可达,仅用于让 components-diy 成为微信真分包) -->
<view class="placeholder"></view>
</template>
<script>
export default {
data() {
return {}
}
}
</script>
<style scoped>
.placeholder {
padding: 40rpx;
color: #999;
text-align: center;
font-size: 24rpx;
}
</style>