This is a Next.js template created for super-powering webapps in a click. It includes:
- Inter - A google font.
- Clientside theme provider, first rendered by the server (nitlix-themes) which acts as the body
- The theme provider includes Lenis and an optimised version of AOS. (nitlix-aos)
- Metagen - A function to be exported/used that generates meta tags for the page on the fly. (nitlix-metagen)
- Quickstart global.scss and animations.scss
- SASS already installed, tailwind ready to fly.
- 4 Fonts to start with: Neue Montreal, Neutral Grotesk, Inter and Strretch Sans.
- Prisma ready to launch! (Just create the .env vars)
- Prebuilt I18N support (With @vercel/edge, via headers and context (nitlix-i18n))
# First install the create-napp package globally
npm i create-napp@latest -g
then run the create-napp command to initialise this template.
create-napp
You'll be prompted with this:
? Setup the project in...? »
# Use "." or "./" for the local folder.
# Use a foldername to setup the project in that folder. (It will be created if it doesn't exist
To initialise this template, choose one of the following options:
gh repo clone Nitlix/NitlixNextTemplate .
gh repo clone Nitlix/NitlixNextTemplate <folder-name>
# the folder name is optional
gh repo fork Nitlix/NitlixNextTemplate
Firstly install the dependencies:
npm i
# or
yarn
# or
pnpm i
Then, 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.tsx
. The page auto-updates as you edit the file.