Skip to content

This is a boilerplate project for creating Next.js applications with Tailwind CSS styling and deployment to GitHub Pages.

Notifications You must be signed in to change notification settings

kbinreallife/github-pages-next-tailwind-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Next.js Tailwind CSS Boilerplate

This is a boilerplate project I made for facilitating the creation Next.js applications with Tailwind CSS styling and deployment to GitHub Pages. 3 steps and you're ready to edit a website.

Getting Started

To get started, clone this repository:

git clone https://github.com/kbinreallife/github-pages-next-tailwind-boilerplate.git

Open your project in vscode

code .

At this point, you can rename the project to your github username username.github.io

Navigate to the project directory

cd username.github.io

Install dependencies:

pnpm install

Start the development Server:

pnpm dev

Visit http://localhost:3000 in your browser to view the project. Edit your webpage to your hearts desire <3

Deployment

  1. Update the homepage field in the package.json file with your GitHub Pages URL:
"homepage": "https://your-username.github.io/your-repository/",
  1. Update the publish_dir field in the /.github/workflows/deploy.yml file.
publish_dir: your-username/your-username.github.io
  1. Build your project:
pnpm build
  1. Deploy your project to GitHub Pages:
pnpm deploy

About

This is a boilerplate project for creating Next.js applications with Tailwind CSS styling and deployment to GitHub Pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published