Open https://alexribeirodesa.github.io/nextjs-github-page-template/ to test the project template!
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Update the values from next.build.config.js to
- basePath: "/your-github-project",
- assetPrefix: "/your-github-project",
When using the next/image component, you will need to add the basePath in front of src. For example, using /docs/me.png will properly serve your image when basePath is set to /docs.
- NextJS Image not working with static images;
Hi, I'm Alexandre Ribeiro de Sá. @elalezito
In past years I have developed several assets for Unity, GameMaker and Construct, developed original games for arcade machines and more :)
Now I'm using some of my free time to stream on YouTube and develop a free, powerfull and easy to use 2D game engine.