# modularity-generate **Repository Path**: sunshaobei/modularity-generate ## Basic Information - **Project Name**: modularity-generate - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-31 - **Last Updated**: 2024-09-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # modularity-plugin ### 简介 自动配置工程模块化 ### 使用方式 ### 1.在项目工程hvigor目录中的hvigor-config.json5文件中配置 ```text { "dependencies": { //1:配置安装插件 "@satis-sun/modularity-plugin": "^1.0.5" } } ``` ### 2.配置项目工程根目录的hvigorfile.ts文件(不是module下的hvigorfile.ts) ```text import { hspTasks } from '@ohos/hvigor-ohos-plugin'; //1:导入插件包 import {ModularityPlugin } from "@satis-sun/modularity-plugin" export default { system: hspTasks, plugins:[ModularityPlugin()] } ```