Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 3rd party libraries
node_modules
dist

# IDE/OS files
.vscode
Expand Down
11 changes: 11 additions & 0 deletions microfrontend/INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# For this Micro Frontend POC

## Instructions

1. run `node index.js` in root directory

2. Fill out information with repo name (i typically use `tmp-1234` so it isn't tracked) and choose `n` for SSR and hit `enter` for the git repo since it doesn't matter

3. `cd <repo-name>` and run `npm run dev` to get it running

4. For production mode, use `npm run build` followed by `npm run start`
6 changes: 6 additions & 0 deletions microfrontend/react-15/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
10 changes: 10 additions & 0 deletions microfrontend/react-15/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang='en'>

<head>
<title>mf1 test</title>
</head>
<body>
<div id='app'></div>
</body>
</html>
Loading