/micro-frontend

微前端小试

Primary LanguageJavaScriptMIT LicenseMIT

  1. 安装 lerna:npm install -g lerna
  2. 进入根目录安装依赖包:lerna bootstrap
  3. 启动portal:cd packages/portal && yarn start
  4. 启动main:cd packages/main && yarn start
  5. 启动app1:cd packages/app1 && yarn start
  6. 启动app2:cd packages/app2 && yarn start
  7. 打开浏览器访问: localhost:9000