Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/surjithctly/tailwindcss-starter

A dead simple HTML Starter for Tailwind CSS Beginners. Easy & Fast Setup. No Framework. Powered by Vite.
https://github.com/surjithctly/tailwindcss-starter

beginner easy simple starter tailwind tailwindcss template

Last synced: 17 days ago
JSON representation

A dead simple HTML Starter for Tailwind CSS Beginners. Easy & Fast Setup. No Framework. Powered by Vite.

Awesome Lists containing this project

README

        

# Tailwind CSS Starter

This is a dead simple Tailwind CSS HTML Starter Template for Beginners.

## How to use

First clone the code to your local system from github.

```bash
git clone https://github.com/web3templates/tailwindcss-starter.git project-name
# or run (inside your project folder. need dot (.) in the end)
git clone https://github.com/web3templates/tailwindcss-starter.git .
```

Now, Install Node dependencies by installing the following command.

```bash
pnpm install
# or
npm run install
```

Then you can run the development server & watch css using the following steps:

```bash
pnpm dev
# or
npm run dev
```

This template uses **Vite** for development server, but you can also use VSCode Live Preview option or Live Server Plugin. If you use vite, you will see a localhost port address like: `http://localhost:5173` which you can click to open in any browser.

## Publishing / Deployment

First, run the following command to build your project to `/dist` folder.

```bash
pnpm build
# or
npm run build
```

The above command will create a `/dist` folder with all the HTML files & assets from the `/src` folder.

You can use the `/dist` folder to upload to your hosting server.