Vite Js and Tailwind CSS Boilerplate
Used Library
vite
tailwindcss
postcss
autoprefixer
Clone the repo to local
# git clone this repository ๐ฆ
git clone https://github.com/sadman-shami/vite-tailwind-boilerplate.git
cd vite-tailwind-boilerplate
# install dependencies ๐งถ
# npm
npm i
# yarn
yarn
# pnpm
pnmp
Checklist
When you use this template, update the followings:
- Remove
.git
directory and rungit init
to clean the commit history. - Cleanup
README.md
file. - Delete
screen.png
file.
Now you can enjoy
Usage
The starter contains the following scripts:
Yarn
yarn dev
- start a vite dev server๐ yarn build
- build the project๐ฆ yarn preview
- preview build๐
Pnpm
pnpm dev
- start a vite dev server๐ pnpm build
- build the project๐ฆ pnpm preview
- preview build๐
Npm
npm run dev
- start a vite dev server๐ npm run build
- build the project๐ฆ npm run preview
- preview build๐
Acknowledgement
If you found it useful somehow, I would be grateful if you could leave a star in the project's GitHub repository.
Thank you