.. | ||
.github/workflows | ||
.idea | ||
.vscode | ||
app | ||
components | ||
config | ||
public | ||
styles | ||
tests/e2e | ||
tests-examples | ||
types | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.npmrc | ||
Dockerfile | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
next.config.js | ||
package-lock.json | ||
package.json | ||
playwright.config.ts | ||
postcss.config.js | ||
README.md | ||
tailwind.config.js | ||
tsconfig.json |
Next.js & NextUI Template
This is a template for creating applications using Next.js 14 (app directory) and NextUI (v2).
Technologies Used
How to Use
Use the template with create-next-app
To create a new project based on this template using create-next-app
, run the following command:
npx create-next-app -e https://github.com/nextui-org/next-app-template
Install dependencies
You can use one of them npm
, yarn
, pnpm
, bun
, Example using npm
:
npm install
Run the development server
npm run dev
Setup pnpm (optional)
If you are using pnpm
, you need to add the following code to your .npmrc
file:
public-hoist-pattern[]=*@nextui-org/*
After modifying the .npmrc
file, you need to run pnpm install
again to ensure that the dependencies are installed correctly.
License
Licensed under the MIT license.