You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nextjs-antd/README.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,10 @@
1
1
# Next.js with Module Federation
2
2
3
-
Module Federation in Next.js depends on <ahref="https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-mf">@module-federation/nextjs-mf</a> It will not work unless you have access to this plugin, which is not free.
4
-
5
-
Due to the effort to support Next.js and funding constraints, I have moved the plugin to a paid model.
6
-
7
3
NOTE: There seems to be a problem with css-in-js sharing between federated modules. This is likely due to some internal module not being shared as a singleton. PR is welcome
8
4
9
5
## Getting Started
10
6
11
-
1. run `npm install @module-federation/nextjs-mf --registry https://r.privjs.com` with npm 7 (yarn probbably better) or install it directly in each folder/app, note the plugin is not free.
7
+
1. run `yarn install` with npm 7 (yarn probbably better).
12
8
2. run `yarn start` and browse to `http://localhost:3001`
13
9
14
10
# We are available to consult
@@ -17,8 +13,6 @@ Looking for SSR over `fetch()` or architecture support and designs for module fe
17
13
18
14
Contact me <ahref="mailto:zackary.l.jackson@gmail.com">zackary.l.jackson@gmail.com</a> or <ahref="https://twitter.com/scriptedalchemy">@ScriptedAlchemy</a> on Twitter
19
15
20
-
All solutions for next.js currently require a paid access or paid plugin
21
-
22
16
## Context
23
17
24
18
We have three next.js applications
@@ -52,7 +46,7 @@ const config = {
52
46
};
53
47
```
54
48
55
-
However, in the case of Next.js - you need to use <ahref="https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-mf">@module-federation/nextjs-mf</a>
49
+
However, in the case of Next.js - you need to use @module-federation/nextjs-mf
0 commit comments