Skip to content

micro-frontends-vue/preload-routes

Repository files navigation

vue-simple-micro-frontends

Detail

Inspired by 用微前端的方式搭建类单页应用(@美团技术团队)

Project setup

Compiles and hot-reloads for development

# make 'install.sh' and 'serve.sh' executable
chmod 777 install.sh

# install dependencies
./install.sh

# development serve

# dev entry-app
cd entry-app
yarn serve

# open a new shell, dev sub-app
cd sub-app-one
yarn serve

# open a new shell, dev sub-app
cd sub-app-two
yarn serve

# open: http://localhost:7300/

Compiles and minifies for production

# production build
yarn build

# production build with serve
yarn build:serve

# open: http://localhost:3000/

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •