surjithctly / tailwindcss-starter

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

Home Page:https://tailwindcss-starter.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailwind CSS Starter

This is a dead simple HTML Starter Template with Tailwind CSS.

How to use

First clone the code to your local system from github.

git clone https://github.com/web3templates/tailwindcss-starter.git MyProjectName
# or (same folder)
git clone https://github.com/web3templates/tailwindcss-starter.git .

Now, Install Node dependencies by installing the following command.

npm install
# or
yarn

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

npm run dev
# or
yarn dev

To start a development server, go to src/index.html and right click on the page and choose "Open with Live Server". or use the shortcut (Cmd + L then Cmd + O). Alternatively, you can open the live server from the right top icon on the index.html page. You can see a preview pane icon with a search icon.

Now you will get a URL like: http://127.0.0.1:3000/src/index.html

Then, you will be able to make changes and you can see it live on the web server.

Publishing / Deployment

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

npm run build
# or
yarn 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.

About

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

https://tailwindcss-starter.vercel.app/


Languages

Language:CSS 79.9%Language:HTML 15.9%Language:JavaScript 4.2%