Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.