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
_just - is a postprocessor that allows you to modify generated Next.js pages before publishing them to GitHub. <br>
4
+
<small>Made for lazy devs.</small>
5
+
6
+
---------
7
+
# WHERE I CAN USE _JUST
8
+
9
+
You can use **_just** only in your Next.js website on GitHub Pages.
10
+
11
+
---------
12
+
# HOW TO USE
13
+
14
+
1. Create "`_just`" directory in root directory of your GitHub repository.
15
+
2. Create "`js`", "`style`", "`dangerously-insert-files`" sub-directories in "`_just`" directory.
16
+
3. Create "`404.html`" file that you can customize as you want and insert it in "`_just`" directory.
17
+
4. You can add as many as you want JavaScript files in "`js`" sub-directory, these files will be applied to **all** pages on your website.
18
+
5. You can add as many as you want CSS files in "`style`" sub-directory, these files will be applied to **all** pages on your website.
19
+
6. If you want, you also can add **any** files in "`dangerously-insert-files`" sub-directory, these files will be available at `(PATH TO YOUR WEBSITE)/(FILE NAME)`.
20
+
> [!WARNING]
21
+
> INSERTING FILES DIRECTLY IN GENERATED NEXT.JS WEBSITE MAY CAUSE ERRORS.
22
+
7. Now in your "`.github/workflows/nextjs.yml`" file insert this after "`Build with Next.js`":
0 commit comments