Skip to content

SYNTEC-10101348/MFShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

MFShare

MinimalReproduce Project

vite2test created by vite with vue2.7
my-project created by vue cli with vue2.7

--

How to Use

  1. build webpack project
cd .\webpack\my-project  
npm insall
npm run build
  1. host the webpack website in any where

  2. test MF with vite

cd .\vite\vite2test
npm install
  1. change the MF remote URL in vite.config.js to where you host the webpack project
//example: const myWebpackService = 'http://localhost:8080/';
const myWebpackService = 'http://localhost:8081/';

//example: const externalChildPath = `webpackTest/remoteEntry.js`;
const externalChildPath = `remoteEntry.js`;
  1. npm run dev then change the MF shared setting, navigate to http://localhost:8081/test
    see what will happened

About

MinalReproduce Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published