Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betich/next-boilerplate
A Next.js boilerplate.
https://github.com/betich/next-boilerplate
Last synced: 3 days ago
JSON representation
A Next.js boilerplate.
- Host: GitHub
- URL: https://github.com/betich/next-boilerplate
- Owner: betich
- Created: 2021-09-03T11:44:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T17:44:59.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T00:01:01.109Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js App
This is project was bootstrapped with [betich's](https://github.com/betich/next-boilerplate) Next.js boilerplate template.
## Instructions
Below are ways to start your project with this boilerplate.
1. Use `degit` to clone the repo
```bash
npx degit betich/next-boilerplate your-app-name
cd your-app-name
git branch -m master main
npm i
```2. Clone the repo with git
```bash
git clone https://github.com/betich/next-boilerplate your-app-name
cd your-app-name
npm i
```## Features
1. Typescript alias paths
```ts
import { Header } from "@/components/Main"
import { User } from "@/types"
```We've added alias paths for the `src` directory. Example:
- `src/components` => `@/components`
- `src/styles` => `@/styles`
- `src/elements` => `@/elements`
- `src/utils` => `@/utils`2. Prettier
Customize how prettier works by editing the `.prettierrc` file.
3. ESLint
Customize how eslint works by editing the `.eslintrc.js` file.