Skip to content

Add next.js information in static-site-generators #1944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 10 additions & 0 deletions docs/how-to/websites-on-ipfs/static-site-generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,13 @@ Upload the `_site` folder to IPFS.
While WordPress is not a static site generator, it is possible to turn it into a static website and migrate it over to a static-hosting service. [Take a look at this blog post from Fleek that walks you through the whole process](https://blog.fleek.co/posts/wordpress+fleek)!

Keep in mind that you will lose the ability to manage your website's content through the WordPress _back-end_, and that this process requires that you install a plugin along-side your WordPress site.

## Next.js

Refer to Next.js's [output](https://nextjs.org/docs/app/api-reference/next-config-js/output) guide to install Ruby and Jekyll.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Refer to Next.js's [output](https://nextjs.org/docs/app/api-reference/next-config-js/output) guide to install Ruby and Jekyll.
Refer to Next.js's [output](https://nextjs.org/docs/app/api-reference/next-config-js/output) guide to configure next.js to configure static output.


Use the following commands to compile and then output your application into static html
```bash
npm run build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use npx next and the correct command and add information about the output folder.

npm run output
```