Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wjd3/next-lite

Full-featured, minimalist, and opinionated Next.js starter template. Weighs in at 45kb vs Create-Next-App's 71kb
https://github.com/wjd3/next-lite

lightweight nextjs preact tailwind tailwindcss template typescript

Last synced: 2 days ago
JSON representation

Full-featured, minimalist, and opinionated Next.js starter template. Weighs in at 45kb vs Create-Next-App's 71kb

Awesome Lists containing this project

README

        

# `next-lite` 🥬

## Full-featured, Minimalist, and Opinionated [Next.js](http://nextjs.org/) Starter Template

### Includes state & form management, dark mode/color theme support, and Tailwind CSS

#### Weighs in at 58kb vs. `create-next-app`'s 77kb

- Replaces React with [Preact](https://preactjs.com/) at build time
- Pre-configured with:

- [Jotai](https://jotai.pmnd.rs/) - ~2kb state management library
- [React Hook Form](https://react-hook-form.com/) - lightweight, performant, and extensible form management library
- [Tailwind CSS](https://tailwindcss.com) - CSS framework with minimal effect on bundle size
- [next-themes](https://github.com/pacocoursey/next-themes) - Theming utility for Next.js applications
- [isomorphic-dompurify](https://github.com/kkomelin/isomorphic-dompurify) - Sanitize form and other DOM input from users
- [Typescript](https://www.typescriptlang.org/) - you already know

**[Use this template with your next project!](https://github.com/dayvista/next-light/generate)**

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fdayvista%2Fnext-light)

[![MIT License](https://img.shields.io/github/license/othneildrew/best-readme-template.svg?style=for-the-badge)](https://github.com/dayvista/next-light/blob/master/LICENSE.txt)

## Contributing

1. Fork the Project
2. Create your feature branch (`git checkout -b feature/SomeCoolFeature`)
3. Commit your changes (`git commit -m 'Add some SomeCoolFeature'`)
4. Push to the branch (`git push origin feature/SomeCoolFeature`)
5. Open a PR (pull request)

## License

Distributed under the MIT License. See [`LICENSE.txt`](https://github.com/dayvista/next.js-template/blob/master/LICENSE.txt) for more information.

## Acknowledgements

- [Next.js - Replace React with Preact](https://darrenwhite.dev/blog/nextjs-replace-react-with-preact) by [Darren White](https://darrenwhite.dev/), with inspiration from [Lee Robinson](https://leerob.io/)
- [Best README Template](https://github.com/othneildrew/Best-README-Template)