Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/aravindputrevu/nextjs-tailwindcss-search

A Search App built using NextJS, TailwindCSS and Elasticsearch
https://github.com/aravindputrevu/nextjs-tailwindcss-search

Last synced: 11 days ago
JSON representation

A Search App built using NextJS, TailwindCSS and Elasticsearch

Awesome Lists containing this project

README

        

# Next.js + Tailwind CSS + Elasticsearch Example

This example shows how to use [Tailwind CSS](https://tailwindcss.com/) [(v2.2)](https://blog.tailwindcss.com/tailwindcss-2-2) with Next.js. It follows the steps outlined in the official [Tailwind docs](https://tailwindcss.com/docs/guides/nextjs).

It uses the new [`Just-in-Time Mode`](https://tailwindcss.com/docs/just-in-time-mode) for Tailwind CSS.

We will use Elasticsearch to ingest sample data, search it by using [Elasticsearch NodeJS](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html) language client.

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-tailwindcss)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-tailwindcss&project-name=with-tailwindcss&repository-name=with-tailwindcss)