tailwindcss-init-alt
v1.0.3
Published
NPM package alternative to tailwindcss init to initialize Tailwind CSS with a custom configuration file.
Readme
tailwindcss-init-alt
A simple CLI tool that creates a tailwind.config.js file to enable Tailwind CSS IntelliSense when using the CDN version of Tailwind — no build step required. It's a lightweight alternative to the classic npx tailwindcss init command, which was deprecated in Tailwind v4.
Why Use This?
If you're using Tailwind via CDN in simple HTML files, you don't need a build step — but you'll miss out on:
- IntelliSense
- Autocomplete for custom colors, spacing, etc.
- Hover tooltips and class validation
This tool fixes that by generating a minimal tailwind.config.js so your editor (like VS Code with the Tailwind IntelliSense extension) can give you smart suggestions.
Install & Use
npx tailwindcss-init-altNPM package
https://www.npmjs.com/package/tailwindcss-init-alt
Github Repository
https://github.com/sachetsubedi/tailwind-css-init-alt.git
Author
Sachet Subedi https://sachetsubedi001.com.np
