Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/adonig/nextjs-starter-preact-tailwindcss

A Next.js starter project coming with Preact and Tailwind CSS built-in.
https://github.com/adonig/nextjs-starter-preact-tailwindcss

nextjs nextjs-starter preact purgecss tailwindcss typescript

Last synced: about 2 months ago
JSON representation

A Next.js starter project coming with Preact and Tailwind CSS built-in.

Awesome Lists containing this project

README

        

# nextjs-starter-preact-tailwindcss

This is a [Next.js](https://nextjs.org/) starter project coming with [Preact](https://preactjs.com/) and [Tailwind CSS](https://tailwindcss.com/) built-in.

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

## Visual Studio Code

From my experience Tailwind CSS works best with [stylelint](https://stylelint.io/), so you might want to install the following extensions:

- [vscode-stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)

Also make sure you locally disable any interfering extensions (i.e. SCSS Formatter) in your workspace.