barrywire / next-nextui

A Next.js NextUI template set up for success

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next NextUI

This repository contains an easy to consume template for NextJs and NextUI as the UI framework. It was initially done by Barry M Wire

This repository contains a basic template of a create-next-app that comes with the following packages out of the box:

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Setting up the commitlint

  • Create a commitlint file:
touch commitlint.config.js
  • Configure the commitlint file:
module.exports = {
  extends: ['@commitlint/config-conventional'],
};
  • Add a prepare step which enables husky to run the commitlint:
npm set-script prepare "husky install"
  • Add a pre-commit step which runs the commitlint:
npx husky add .husky/pre-commit "npx --no-install commitlint --edit $1"

Have fun!

About

A Next.js NextUI template set up for success

License:MIT License


Languages

Language:JavaScript 90.4%Language:CSS 8.9%Language:Shell 0.7%