# vue-dynamic-module-example **Repository Path**: fushengruomeng13/vue-dynamic-module-example ## Basic Information - **Project Name**: vue-dynamic-module-example - **Description**: a dynamic module for vue.js - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # demo ## vue-dynamic-module-example ``` This project is inspired by webpack-virtual-modules + require.context webpack-virtual-modules:https://github.com/sysgears/webpack-virtual-modules ``` ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve --module=foo (单模块编译) npm run serve --module=foo,bar (多模块编译) ``` ### Compiles and minifies for production ``` npm run build ``` ## TODOs - 模块化打包部署,分布式发布 - 后续基于 webpack5-module-federation 做模块化共享实践